[libxml-atom-perl] 09/10: debian/rules: remove empty manpages.

gregor herrmann gregoa at debian.org
Sat Jun 24 13:54:56 UTC 2017


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

gregoa pushed a commit to branch master
in repository libxml-atom-perl.

commit 5668eb7b8a398410f121543130c7d46789d7c89d
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 24 15:49:31 2017 +0200

    debian/rules: remove empty manpages.
---
 debian/rules | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0ade244..a81c315 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,16 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
 
 override_dh_auto_test:
 	# no DNS queries
 	RES_OPTIONS=attempts:0 dh_auto_test
+
+override_dh_auto_install:
+	dh_auto_install
+	# remove empty manpages
+	find $(TMP)/usr/share/man/man3 -type f -size 0 -delete

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



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