# HG changeset patch # User Alpar Juttner # Date 2009-01-21 19:17:28 # Node ID 227f36959519c435c42e439705e5dfef2ffdd9e2 # Parent 1cc2818c03c057581cd0ddda58168d863632f6ba # Parent 8b56605db6a8e99343864bb2d058c5d27aabe806 Merge bugfix #207 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 @@ -34,9 +35,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)