summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-02 15:21:29 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-03-02 15:21:29 +0000
commitd1a1653f2a79bcf12a8842b09e951343f337d278 (patch)
tree0365b50f375760d9b4aa239783c4484cc55b5e25 /doc
parent5a817eba3d7b096177a1d526e91f4a2650874cdd (diff)
[1.5] Finish import of r963
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt7
-rw-r--r--doc/Doxyfile.dox.cmake.in3
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 0c00e31a..d30e384e 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -9,7 +9,12 @@ IF(DOXYGEN_FOUND)
# Configure the doxygen config file with variable from CMake and move it
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.dox.cmake.in
${CMAKE_BINARY_DIR}/doc/Doxyfile-html.dox @ONLY)
-
+
+ # Configure the html mainpage file of the doxygen documentation with variable
+ # from CMake and move it
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mainpage.dox.cmake
+ ${CMAKE_BINARY_DIR}/doc/mainpage.dox @ONLY)
+
# Generate new target to build the html documentation
ADD_CUSTOM_TARGET(doc ALL
${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/doc/Doxyfile-html.dox)
diff --git a/doc/Doxyfile.dox.cmake.in b/doc/Doxyfile.dox.cmake.in
index 4b6f72dc..1bd970e8 100644
--- a/doc/Doxyfile.dox.cmake.in
+++ b/doc/Doxyfile.dox.cmake.in
@@ -104,7 +104,8 @@ INPUT = @OPENJPEG_SOURCE_DIR@/libopenjpeg \
@OPENJPEG_BINARY_DIR@/doc
INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.h \
- *.c
+ *.c \
+ *.dox
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO