From 7a48dac20924cb7bce1b53acfd4227b9c94ff70a Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Nov 2014 10:15:13 +0100 Subject: [PATCH] win porting of doc --- doc/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index ec688ec..50848d7 100755 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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}") + -- 2.39.2