File: no-docs.patch

package info (click to toggle)
gmt 6.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,184 kB
  • sloc: ansic: 294,045; sh: 30,961; lisp: 86; fortran: 49; makefile: 43; perl: 32; csh: 9
file content (31 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download
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)