From: abn Date: Thu, 7 Jul 2016 13:25:44 +0000 (+0200) Subject: Fix doc generation X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=35e66fe66bb8b041eb9fb6fece989bc09ad265a9;p=modules%2Fkernel.git Fix doc generation --- diff --git a/doc/salome/gui/CMakeLists.txt b/doc/salome/gui/CMakeLists.txt index 14d3f08d4..ecbe9b3b7 100755 --- a/doc/salome/gui/CMakeLists.txt +++ b/doc/salome/gui/CMakeLists.txt @@ -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)