doc/CMakeLists.txt
changeset 355 8b56605db6a8
parent 225 c5a40fc54f1a
child 377 97070bd10b98
     1.1 --- a/doc/CMakeLists.txt	Sun Dec 21 20:45:25 2008 +0100
     1.2 +++ b/doc/CMakeLists.txt	Wed Jan 21 18:06:17 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 @@ -34,9 +35,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)