]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Remove -W flag
authorana <ana@opencascade.com>
Tue, 30 Oct 2012 14:57:02 +0000 (14:57 +0000)
committerana <ana@opencascade.com>
Tue, 30 Oct 2012 14:57:02 +0000 (14:57 +0000)
doc/docutils/CMakeLists.txt
salome_adm/cmake_files/am2cmake.py

index 652bf863b2cea1507a532292db3fe9f8f8841109..5bc5983eb87b2f620e76f4c7659b6600562ec9c6 100755 (executable)
@@ -60,7 +60,7 @@ ENDIF(WINDOWS)
 \r
 FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} "${SCR}")\r
 \r
-ADD_CUSTOM_TARGET(html_docs ${CALL_STR} ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} && ${SPHINX_EXECUTABLE} -Q -c ${CMAKE_BINARY_DIR}/doc/docutils -W -b html ${ALLSPHINXOPTS} html\r
+ADD_CUSTOM_TARGET(html_docs ${CALL_STR} ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} && ${SPHINX_EXECUTABLE} -Q -c ${CMAKE_BINARY_DIR}/doc/docutils -b html ${ALLSPHINXOPTS} html\r
   COMMAND ${PYTHON_EXECUTABLE} -c \"import shutil\;shutil.rmtree('''${CMAKE_INSTALL_PREFIX}/share/doc/salome/tui/KERNEL/docutils''', True)\;shutil.copytree('''${CMAKE_CURRENT_BINARY_DIR}/html''', '''${CMAKE_INSTALL_PREFIX}/share/doc/salome/tui/KERNEL/docutils''')\"\r
   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}\r
 )\r
index 838b032749e8246504a8cc6b22357cc8b576ed9f..51914ad00dd8ef84f87c61551404f8d543a29ee5 100644 (file)
@@ -1286,7 +1286,7 @@ class CMakeFile(object):
                SET(SCR "%s")
             ENDIF(WINDOWS)
             FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/env_s.%s "${SCR}")
-            ADD_CUSTOM_TARGET(html_docs %s ${CMAKE_CURRENT_BINARY_DIR}/env_s.%s && ${SPHINX_EXECUTABLE} %s -c ${CMAKE_BINARY_DIR}/doc/docutils -W -b html ${ALLSPHINXOPTS} html
+            ADD_CUSTOM_TARGET(html_docs %s ${CMAKE_CURRENT_BINARY_DIR}/env_s.%s && ${SPHINX_EXECUTABLE} %s -c ${CMAKE_BINARY_DIR}/doc/docutils -b html ${ALLSPHINXOPTS} html
             COMMAND ${PYTHON_EXECUTABLE} -c \"import shutil\;shutil.rmtree('''%s''', True)\;shutil.copytree('''${CMAKE_CURRENT_BINARY_DIR}/html''', '''%s''')\"
             WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})"""%(scr,scr,ext,prf,ext,params, doc_gui_destination, doc_gui_destination))