]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Improve make dev_docs step:
authormpa <mpa@opencascade.com>
Tue, 22 Oct 2013 14:07:53 +0000 (14:07 +0000)
committermpa <mpa@opencascade.com>
Tue, 22 Oct 2013 14:07:53 +0000 (14:07 +0000)
- It does not install anything; only generates output with doxygen
- make install installs output files generated by make dev_docs
- make clean cleans generated files

doc/salome/tui/CMakeLists.txt

index f93a895921509e4e6495edd8ee1e631aed14aea3..84040c3dcebcf8334f570ea7d8f7c3d3b9278e4e 100755 (executable)
 SALOME_CONFIGURE_FILE(doxyfile.in doxyfile)
 SALOME_CONFIGURE_FILE(static/header.html.in static/header.html)
 
-ADD_CUSTOM_TARGET(usr_docs_tui ${DOXYGEN_EXECUTABLE})
+ADD_CUSTOM_TARGET(dev_docs ${DOXYGEN_EXECUTABLE})
 
-ADD_DEPENDENCIES(usr_docs_tui html_docs)
-
-INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target usr_docs_tui)")
+INSTALL(CODE "FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/BLSURFPLUGIN)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/BLSURFPLUGIN DESTINATION ${SALOME_INSTALL_DOC}/tui)
 INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/tui/BLSURFPLUGIN)
+
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES BLSURFPLUGIN)