]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
win porting of doc
authorunknown <salome@IS211467.intra.cea.fr>
Wed, 12 Nov 2014 09:15:13 +0000 (10:15 +0100)
committerunknown <salome@IS211467.intra.cea.fr>
Wed, 12 Nov 2014 09:15:13 +0000 (10:15 +0100)
doc/CMakeLists.txt

index ec688ecbe48864c1e8dfde4698dad1358c3f5ffc..50848d7d3df065f25f6dccdfe479a8a7322f5d48 100755 (executable)
@@ -19,8 +19,8 @@
 
 SALOME_CONFIGURE_FILE(conf.py.in conf.py)
 
-SET(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees -D latex_paper_size=a4 ${CMAKE_CURRENT_SOURCE_DIR} html)
-SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}")            
+SET(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees -D latex_paper_size=a4 ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/html)
+EXECUTE_PROCESS(COMMAND ${SPHINX_EXECUTABLE} ${_cmd_options})
 
 ADD_CUSTOM_TARGET(html_docs COMMAND ${_cmd})
 
@@ -29,3 +29,4 @@ INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_INSTALL
 
 SET(make_clean_files html doctrees)
 SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")
+