[libdevel-repl-perl] 06/08: debian/rules: remove newly created empty manpages.
gregor herrmann
gregoa at debian.org
Sun Sep 22 17:18:20 UTC 2013
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdevel-repl-perl.
commit d048dd4096619d6a7b31254c3a118ec279b72bcb
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Sep 22 19:15:11 2013 +0200
debian/rules: remove newly created empty manpages.
---
debian/rules | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..53378ba 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 empty manpages
+ for M in $(TMP)/usr/share/man/man3/*.3pm ; do \
+ [ -s $$M ] || $(RM) -v $$M ; \
+ done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdevel-repl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list