# HG changeset patch # User Alpar Juttner # Date 2009-01-21 19:18:41 # Node ID efec3c133e74af5dfe41ffd0ad05e982b07980d7 # Parent f59df77f5c8d821b7be63dd64e78c44f036ec62a # Parent 8b56605db6a8e99343864bb2d058c5d27aabe806 Merge diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -9,6 +9,7 @@ @ONLY) IF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE) + FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/) IF(UNIX) ADD_CUSTOM_TARGET(html COMMAND rm -rf gen-images @@ -35,9 +36,8 @@ COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) ENDIF(UNIX) + INSTALL( + DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ + DESTINATION doc + COMPONENT html_documentation) ENDIF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE) - -INSTALL( - DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ - DESTINATION doc - COMPONENT html_documentation)