summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-03 11:58:43 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-03 11:58:43 +0100
commit70e5dd5705d063119c2c0757082fd3a82c53ee71 (patch)
tree332e0a380538b4a778edb75fd59363a4557861f4 /doc
parent5412f817f86b66062e6e2567faa88948bb661652 (diff)
downloaduca-70e5dd5705d063119c2c0757082fd3a82c53ee71.tar.gz
uca-70e5dd5705d063119c2c0757082fd3a82c53ee71.tar.bz2
uca-70e5dd5705d063119c2c0757082fd3a82c53ee71.tar.xz
uca-70e5dd5705d063119c2c0757082fd3a82c53ee71.zip
Document recent changes
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index ff2030a..0e5afd1 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -7,10 +7,11 @@ if(DOXYGEN_FOUND)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/publish.sh.in ${CMAKE_CURRENT_BINARY_DIR}/publish.sh)
- # add 'ALL after 'doc' to create documentation, whenever you type make
- add_custom_target(doc
- ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
+ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/index.html
+ COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../src/uca.h
COMMENT "Generating API documentation with Doxygen" VERBATIM
)
+ add_custom_target(docs ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html/index.html)
endif(DOXYGEN_FOUND)