[libprotocol-http2-perl] 08/09: don't install empty or incomplete manpages

gregor herrmann gregoa at debian.org
Mon Feb 6 16:26:09 UTC 2017


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

gregoa pushed a commit to branch master
in repository libprotocol-http2-perl.

commit 435adfe572963f4cb1670cd9156c541a3af803bf
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Feb 6 17:24:26 2017 +0100

    don't install empty or incomplete manpages
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..27aef5b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,14 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	# remove completely empty manpages
+	find $(TMP)/usr/share/man/man3 -type f -size -1 -print0 | xargs -r0 $(RM) -v
+	# remove incomplete manpage
+	$(RM) -v $(TMP)/usr/share/man/man3/Protocol::HTTP2::Frame.3pm

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libprotocol-http2-perl.git



More information about the Pkg-perl-cvs-commits mailing list