From: vsr Date: Fri, 8 Nov 2013 13:16:15 +0000 (+0000) Subject: Additional changes to documentation build procedure X-Git-Tag: V7_3_0a1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ad0a87e26f8ee84e341ed9b6490eac7df5278c9d;p=tools%2Fdocumentation.git Additional changes to documentation build procedure --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 154d1e5..bdb5c4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,18 +47,16 @@ FIND_PACKAGE(SalomeSphinx) # Directories # ========= -SET(SALOME_DOCUMENTATION_EXTRA_INSTALL extra CACHE PATH "Install path: SALOME Extra documentation") -SET(SALOME_DOCUMENTATION_GIT_INSTALL dev/git CACHE PATH "Install path: SALOME Git documentation") -SET(SALOME_DOCUMENTATION_CMAKE_INSTALL dev/cmake CACHE PATH "Install path: SALOME CMake documentation") -SET(SALOME_DOCUMENTATION_GUI_INSTALL gui CACHE PATH "Install path: SALOME GUI documentation") -SET(SALOME_DOCUMENTATION_TUI_INSTALL tui CACHE PATH "Install path: SALOME TUI documentation") +SET(SALOME_INSTALL_DOC_GUI gui CACHE PATH "Install path: user documentation") +SET(SALOME_INSTALL_DOC_TUI tui CACHE PATH "Install path: developer documentation") +SET(SALOME_INSTALL_DOC_DEV dev CACHE PATH "Install path: additional developer documentation") +SET(SALOME_INSTALL_DOC_EXTRA extra CACHE PATH "Install path: extra documentation") MARK_AS_ADVANCED( - SALOME_DOCUMENTATION_EXTRA_INSTALL - SALOME_DOCUMENTATION_GIT_INSTALL - SALOME_DOCUMENTATION_CMAKE_INSTALL - SALOME_DOCUMENTATION_GUI_INSTALL - SALOME_DOCUMENTATION_TUI_INSTALL + SALOME_INSTALL_DOC_GUI + SALOME_INSTALL_DOC_TUI + SALOME_INSTALL_DOC_DEV + SALOME_INSTALL_DOC_EXTRA ) # Sources diff --git a/dev/cmake/CMakeLists.txt b/dev/cmake/CMakeLists.txt index e84d5de..31c5c8f 100644 --- a/dev/cmake/CMakeLists.txt +++ b/dev/cmake/CMakeLists.txt @@ -27,4 +27,4 @@ SALOME_ADD_SPHINX_DOC( html cmake_doc ${CMAKE_CURRENT_SOURCE_DIR}/source) # Install rules # ========== -INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build/html DESTINATION ${SALOME_DOCUMENTATION_CMAKE_INSTALL}/build) +INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build/html DESTINATION ${SALOME_INSTALL_DOC_DEV}/cmake) diff --git a/dev/git/CMakeLists.txt b/dev/git/CMakeLists.txt index e349eac..cc21e46 100644 --- a/dev/git/CMakeLists.txt +++ b/dev/git/CMakeLists.txt @@ -27,7 +27,7 @@ SALOME_ADD_SPHINX_DOC( html git_doc ${CMAKE_CURRENT_SOURCE_DIR}) # Install rules # ========== -INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build/html DESTINATION ${SALOME_DOCUMENTATION_GIT_INSTALL}/build) +INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build/html DESTINATION ${SALOME_INSTALL_DOC_DEV}/git) FILE(GLOB COMMON_DOCX_FIELS "${CMAKE_CURRENT_SOURCE_DIR}/*.docx") -INSTALL(FILES ${COMMON_DOCX_FIELS} DESTINATION ${SALOME_DOCUMENTATION_GIT_INSTALL}) +INSTALL(FILES ${COMMON_DOCX_FIELS} DESTINATION ${SALOME_INSTALL_DOC_DEV}/git) diff --git a/extra/CMakeLists.txt b/extra/CMakeLists.txt index 392c2e3..a4a56f1 100644 --- a/extra/CMakeLists.txt +++ b/extra/CMakeLists.txt @@ -20,4 +20,4 @@ # Install rules # =========== FILE(GLOB COMMON_PDF_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.pdf") -INSTALL(FILES ${COMMON_PDF_FILES} DESTINATION ${SALOME_DOCUMENTATION_EXTRA_INSTALL}) +INSTALL(FILES ${COMMON_PDF_FILES} DESTINATION ${SALOME_INSTALL_DOC_EXTRA}) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 425f095..debcbfb 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -20,4 +20,4 @@ # Install rules # ========== -INSTALL(FILES README DESTINATION ${SALOME_DOCUMENTATION_GUI_INSTALL}) +INSTALL(FILES README DESTINATION ${SALOME_INSTALL_DOC_GUI}) diff --git a/index.html b/index.html index 6b19d9a..36a3e6e 100755 --- a/index.html +++ b/index.html @@ -110,6 +110,7 @@

Compilation

diff --git a/tui/CMakeLists.txt b/tui/CMakeLists.txt index 263f536..ca16c3b 100644 --- a/tui/CMakeLists.txt +++ b/tui/CMakeLists.txt @@ -20,4 +20,4 @@ # Install rules # ========== -INSTALL(FILES README DESTINATION ${SALOME_DOCUMENTATION_TUI_INSTALL}) +INSTALL(FILES README DESTINATION ${SALOME_INSTALL_DOC_TUI})