[gmt] 06/09: Install pdf files in gmt-doc-pdf package & provide doc-base file

Ross Gammon ross-guest at moszumanska.debian.org
Sun Jun 7 17:07:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository gmt.

commit b30d365f737da35eaefb64b3d66598990fccc8a3
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Tue Mar 31 17:24:11 2015 +0200

    Install pdf files in gmt-doc-pdf package & provide doc-base file
---
 debian/gmt-doc-pdf.doc-base | 6 ++++++
 debian/gmt-doc-pdf.install  | 7 +------
 debian/rules                | 4 ++++
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/debian/gmt-doc-pdf.doc-base b/debian/gmt-doc-pdf.doc-base
new file mode 100644
index 0000000..e2aa1c3
--- /dev/null
+++ b/debian/gmt-doc-pdf.doc-base
@@ -0,0 +1,6 @@
+Document: gmt-doc-pdf
+Title: Generic Mapping Tools (GMT) Manual
+Abstract: These are manuals for GMT in PDF format.
+Section: Science/Geoscience
+Format: PDF
+Files: /usr/share/doc/gmt/pdf/*.pdf
diff --git a/debian/gmt-doc-pdf.install b/debian/gmt-doc-pdf.install
index adabc8f..056c854 100644
--- a/debian/gmt-doc-pdf.install
+++ b/debian/gmt-doc-pdf.install
@@ -1,6 +1 @@
-#usr/share/doc/gmt/pdf/GMT_Docs.pdf
-#usr/share/doc/gmt/pdf/GMT_Manpages.pdf
-#usr/share/doc/gmt/pdf/GMT_Manpages_suppl.pdf
-#usr/share/doc/gmt/pdf/GMT_RGBchart_a4.pdf
-#usr/share/doc/gmt/pdf/GMT_RGBchart_letter.pdf
-#usr/share/doc/gmt/pdf/GMT_RGBchart_tabloid.pdf
+usr/share/doc/pdf/ usr/share/doc/gmt/
diff --git a/debian/rules b/debian/rules
index 0a27032..5055beb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -104,3 +104,7 @@ export DH_VERBOSE
 
 override_dh_install:
 	dh_install --list-missing
+
+override_dh_compress:
+	# Don't compress the pdf files needed for the gmt-doc-pdf package
+	dh_compress -X.pdf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gmt.git



More information about the Pkg-grass-devel mailing list