1.1 --- a/doc/CMakeLists.txt Wed Jan 21 18:08:31 2009 +0000
1.2 +++ b/doc/CMakeLists.txt Wed Jan 21 18:18:41 2009 +0000
1.3 @@ -9,6 +9,7 @@
1.4 @ONLY)
1.5
1.6 IF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE)
1.7 + FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/)
1.8 IF(UNIX)
1.9 ADD_CUSTOM_TARGET(html
1.10 COMMAND rm -rf gen-images
1.11 @@ -35,9 +36,8 @@
1.12 COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
1.13 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
1.14 ENDIF(UNIX)
1.15 + INSTALL(
1.16 + DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
1.17 + DESTINATION doc
1.18 + COMPONENT html_documentation)
1.19 ENDIF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE)
1.20 -
1.21 -INSTALL(
1.22 - DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
1.23 - DESTINATION doc
1.24 - COMPONENT html_documentation)