[gmt] 04/23: Recompress the manpages to not use timestamped gzip.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Jun 13 22:40:18 UTC 2015


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

sebastic pushed a commit to branch master
in repository gmt.

commit 30d38b04f0df0764ec3a00e620c62cc5b5b70dc9
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Jun 9 21:56:26 2015 +0200

    Recompress the manpages to not use timestamped gzip.
---
 debian/changelog | 1 +
 debian/rules     | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a2f2599..a90c650 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,7 @@ gmt (5.1.2+dfsg1-1) UNRELEASED; urgency=medium
   * Build documentation in build-indep target.
   * Use packaged jquery.js & underscore.js instead of embedded sphinx copies.
   * Move /usr/share/gmt to architecture-independent gmt-common package.
+  * Recompress the manpages to not use timestamped gzip.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 07 Jun 2015 12:06:29 +0200
 
diff --git a/debian/rules b/debian/rules
index d6be5e8..97f7677 100755
--- a/debian/rules
+++ b/debian/rules
@@ -91,6 +91,13 @@ override_dh_auto_install:
 	        debian/tmp/usr/lib/*/lib*.so.*.* \
 	        debian/tmp/usr/bin/gmt
 
+	# Recompress the manpages to not use timestamped gzip
+	for section in 1 3 5; do\
+		for manpage in debian/tmp/usr/share/doc/gmt/man/man$${section}/*.$${section}.gz; do \
+			gunzip $${manpage} && gzip -n `echo $${manpage} | sed 's/.gz$$//'` ; \
+		done; \
+	done
+
 #	$(MAKE) -C build/src/mex DESTDIR=$(DESTDIR) install
 #	-find $(DESTDIR)/usr/lib/octave -name "*.mex" -exec rename 's/\.mex/.oct/' {} \;
 	

-- 
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