[libmoosex-declare-perl] 08/09: Don't install empty manpages.

gregor herrmann gregoa at debian.org
Tue Jul 7 17:59:52 UTC 2015


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

gregoa pushed a commit to branch master
in repository libmoosex-declare-perl.

commit 8230b717ee976aa94a2b0eaba0f5fa119e943fff
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Jul 7 19:58:28 2015 +0200

    Don't install empty manpages.
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..3797bf6 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
+	$(RM) -v $(TMP)/usr/share/man/man3/MooseX::Declare::Context::WithOptions.3pm \
+		$(TMP)/usr/share/man/man3/MooseX::Declare::StackItem.3pm \
+		$(TMP)/usr/share/man/man3/MooseX::Declare::Syntax::MethodDeclaration::Parameterized.3pm

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



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