]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Generating documentation by CMake:small fix
authorana <ana@opencascade.com>
Mon, 22 Oct 2012 07:29:11 +0000 (07:29 +0000)
committerana <ana@opencascade.com>
Mon, 22 Oct 2012 07:29:11 +0000 (07:29 +0000)
doc/salome/gui/CMakeLists.txt

index d98151fa1a6e467266fae008aed26c1312935668..0d0992e3868233e6e30a8889a30633cbe84a3eeb 100755 (executable)
@@ -25,7 +25,7 @@ SET(datadir ${CMAKE_INSTALL_PREFIX}/share)
 SET(docdir ${datadir}/doc/salome)
 
 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/doxyfile)
-CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/static/header.html.in ${CMAKE_CURRENT_SOURCE_DIR}/static/header.html)
+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/static/header.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header.html)
 
 ADD_CUSTOM_TARGET(usr_docs ${DOXYGEN_EXECUTABLE} 
  COMMAND ${PYTHON_EXECUTABLE} -c "import shutil, sys; shutil.rmtree(r'''${CMAKE_INSTALL_PREFIX}/share/doc/salome/gui/KERNEL''', True); shutil.copytree(r'''${CMAKE_CURRENT_BINARY_DIR}/KERNEL''', r'''${CMAKE_INSTALL_PREFIX}/share/doc/salome/gui/KERNEL'''); shutil.copy(r'''${CMAKE_CURRENT_SOURCE_DIR}/images/head.png''', r'''${CMAKE_INSTALL_PREFIX}/share/doc/salome/gui/KERNEL''')"