From 68c6ac7726e4bb1846197d807b768287243e9718 Mon Sep 17 00:00:00 2001 From: mpa Date: Tue, 22 Oct 2013 14:07:53 +0000 Subject: [PATCH] Improve make dev_docs step: - 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/salome/tui/CMakeLists.txt b/doc/salome/tui/CMakeLists.txt index f93a895..84040c3 100755 --- a/doc/salome/tui/CMakeLists.txt +++ b/doc/salome/tui/CMakeLists.txt @@ -23,10 +23,10 @@ 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) -- 2.39.2