[med-svn] [subread] 02/02: d/rules: remove timestamps from gzipped files, do not compress pdf d/doc-base: remove index
Alex Mestiashvili
malex-guest at moszumanska.debian.org
Tue Feb 24 09:24:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
malex-guest pushed a commit to branch master
in repository subread.
commit 7f6020b39d3c7a0f398ce93108578a92f688f505
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date: Mon Feb 23 17:08:33 2015 +0100
d/rules: remove timestamps from gzipped files, do not compress pdf
d/doc-base: remove index
---
debian/doc-base | 1 -
debian/rules | 10 ++++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/doc-base b/debian/doc-base
index 747b744..24013ba 100644
--- a/debian/doc-base
+++ b/debian/doc-base
@@ -10,4 +10,3 @@ Section: Science/Biology
Format: pdf
Files: /usr/share/doc/subread/SubreadUsersGuide.pdf
-Index: /usr/share/doc/subread/SubreadUsersGuide.pdf
diff --git a/debian/rules b/debian/rules
index 762920d..251df4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,5 @@
#!/usr/bin/make -f
+
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
@@ -15,3 +16,12 @@ override_dh_clean:
override_dh_auto_build:
cd src; make -f Makefile.Linux
dh_auto_build
+
+override_dh_auto_install:
+#fix for gzip-file-is-not-multi-arch-same-safe
+ find $(CURDIR) -name "*.gz" -exec bash -c 'name="{}"; gzip -d "{}"; gzip -n "$${name%.*}"' \;
+ dh_auto_install
+
+override_dh_compress:
+# do not compress pdfs
+ dh_compress -a -X.pdf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/subread.git
More information about the debian-med-commit
mailing list