1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Description: Don't build docs.
rst docs are excluded from repacked upstream tarball.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -95,7 +95,6 @@ find_package (LATEX COMPONENTS DVIPS)
# Add subdirectories
add_subdirectory (src)
add_subdirectory (share) # share must be processed *after* src (GSHHG_PATH)
-add_subdirectory (doc) # doc must be processed *after* src
if (EXISTS ${GMT_SOURCE_DIR}/test/)
add_subdirectory (test)
endif (EXISTS ${GMT_SOURCE_DIR}/test/)
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -30,13 +30,6 @@ install (FILES
DESTINATION ${GMT_DOCDIR}/copying
COMPONENT Runtime)
-# reST documentation
-find_package (Sphinx)
-add_subdirectory (rst)
-set (RST_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/rst/source)
-set (RST_STATIC_DIR ${CMAKE_CURRENT_BINARY_DIR}/rst/_static)
-add_subdirectory (fig)
-
# Add tests and make verbatim copies from scripts
add_subdirectory (scripts)
add_subdirectory (examples)
|