]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix doc generation
authorabn <adrien.bruneton@cea.fr>
Thu, 7 Jul 2016 13:25:44 +0000 (15:25 +0200)
committerrnv <rnv@opencascade.com>
Tue, 26 Jul 2016 07:45:55 +0000 (10:45 +0300)
doc/salome/gui/CMakeLists.txt

index 14d3f08d4db584b989d97a115fdbab375921a2d0..ecbe9b3b71ca7963b4fd7d2643929c93957f2822 100755 (executable)
@@ -20,7 +20,7 @@
 SALOME_CONFIGURE_FILE(doxyfile.in doxyfile)
 SALOME_CONFIGURE_FILE(static/header.html.in static/header.html)
 
-SET(gen_doc "${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/prepare_generating_doc.py")
+SET(gen_doc "${CMAKE_SOURCE_DIR}/salome_adm/prepare_generating_doc.py")
 IF(WIN32)
   STRING(REPLACE "/" "\\" gen_doc ${gen_doc})
 ENDIF(WIN32)
@@ -52,8 +52,6 @@ ADD_CUSTOM_TARGET(usr_docs ${CMAKE_COMMAND} -E make_directory tmp
   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}             
 )
 
-ADD_DEPENDENCIES(usr_docs html_docs)
-
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target usr_docs)")
 INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/KERNEL DESTINATION ${SALOME_INSTALL_DOC}/gui)
 INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/KERNEL)