doxy: install THtml converter
authordberzano <dario.berzano@cern.ch>
Wed, 11 Feb 2015 14:44:56 +0000 (15:44 +0100)
committerdberzano <dario.berzano@cern.ch>
Wed, 11 Feb 2015 21:02:14 +0000 (22:02 +0100)
doxygen/CMakeLists.txt

index 9336a13..0b32bda 100644 (file)
 
 if(CAN_GENERATE_DOC)
 
-    # prepare Doxygen config from template
-    configure_file(
-        ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
-        ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
-        @ONLY
-    )
+  # Prepare Doxygen config from template
+  configure_file(
+    ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
+    ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
+    @ONLY
+  )
 
-    # generate doc in build dir by using "make doxygen"
-    add_custom_target(doxygen
-        ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
-        WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-        COMMENT "Generating AliRoot Core reference manual using Doxygen"
-    )
+  # Generate doc in build dir by using "make doxygen"
+  add_custom_target(doxygen
+    ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
+    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+    COMMENT "Generating AliRoot Core reference manual using Doxygen"
+  )
 
-    # install documentation in the installation directory if requested
-    add_custom_target(install-doxygen
-        rsync -a --delete @CMAKE_CURRENT_BINARY_DIR@/html/ @CMAKE_INSTALL_PREFIX@/doxygen/
-        DEPENDS doxygen
-        COMMENT "Installing AliRoot Core reference manual"
-    )
+  # Install documentation in the installation directory if requested
+  add_custom_target(install-doxygen
+    rsync -a --delete @CMAKE_CURRENT_BINARY_DIR@/html/ @CMAKE_INSTALL_PREFIX@/doxygen/
+    DEPENDS doxygen
+    COMMENT "Installing AliRoot Core reference manual"
+  )
 
-    # install the helper script to generate images from ROOT macros
-    install(PROGRAMS alidoxyimg.sh DESTINATION bin)
+  # Install utilities to bin/
+  install(PROGRAMS alidoxyimg.sh thtml2doxy.py DESTINATION bin)
 
 endif(CAN_GENERATE_DOC)