]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
Cmake: add a deletion of documentation directory to command make clean
authormpa <mpa@opencascade.com>
Wed, 23 Oct 2013 05:36:09 +0000 (05:36 +0000)
committermpa <mpa@opencascade.com>
Wed, 23 Oct 2013 05:36:09 +0000 (05:36 +0000)
doc/en/CMakeLists.txt
doc/fr/CMakeLists.txt

index 989053e27258f28a4685a31c84f021248703a837..13c2ca9582da614a144cbc7c7297987fdc7283e1 100755 (executable)
@@ -91,3 +91,5 @@ ADD_CUSTOM_TARGET(html_docs_en ${CALL_STR} ${CMAKE_CURRENT_BINARY_DIR}/env_s.${E
 
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_en)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_INSTALL_DOC}/gui/HOMARD/en)
+
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES html)
index 71828b7c88ac86075690a4d63789668d9ca89723..e6893b53f2bded8d1f9541d73461eb15cca2b4d2 100755 (executable)
@@ -90,4 +90,6 @@ FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} "${SCR}")
 ADD_CUSTOM_TARGET(html_docs_fr ${CALL_STR} ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} && ${SPHINXBUILD} -c ${PROJECT_BINARY_DIR}/doc/fr -b html ${CMAKE_CURRENT_SOURCE_DIR} html)
 
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs_fr)")
-INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_INSTALL_DOC}/gui/HOMARD/fr)
\ No newline at end of file
+INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_INSTALL_DOC}/gui/HOMARD/fr)
+
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES html)
\ No newline at end of file