Salome HOME
updated copyright message
[tools/documentation.git] / dev / cmake / CMakeLists.txt
index bd8f474997574e56a68e5430da53f745b1ee9e0f..2d498f27891065bb343ecc33190c0572c8c381e3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-# Include common macros
-# ==================
-INCLUDE(SalomeDocumentationMacros)
-
 SALOME_CONFIGURE_FILE(source/conf.py.in conf.py)
 
-# Add sphinx documentation target
-# ============================
-SALOME_ADD_SPHINX_DOC(html cmake_doc ${CMAKE_CURRENT_SOURCE_DIR}/source ${CMAKE_CURRENT_BINARY_DIR})
+# Build with sphinx
+# =================
+
+SALOME_ADD_SPHINX_DOC(html
+                      cmake_doc
+                      ${CMAKE_CURRENT_SOURCE_DIR}/source
+                      ${CMAKE_CURRENT_BINARY_DIR})
+
+# Install
+# =======
 
-# Install rules
-# ==========
-INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build/html DESTINATION ${SALOME_INSTALL_DOC_DEV}/cmake)
+INSTALL(DIRECTORY
+        ${CMAKE_CURRENT_BINARY_DIR}/_build/html
+        DESTINATION ${SALOME_INSTALL_DOC_DEV}/cmake)