[libset-object-perl] 04/07: debian/rules: don't install upstream Changes as POD/manpage

gregor herrmann gregoa at debian.org
Wed Dec 25 20:26:03 UTC 2013


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

gregoa pushed a commit to branch master
in repository libset-object-perl.

commit a0dbdad7787002884bcfc22ca1705702fc8ae980
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Dec 25 21:21:49 2013 +0100

    debian/rules: don't install upstream Changes as POD/manpage
    
    under /usr/{lib,man}.
---
 debian/rules | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 2901f8e..4b9876b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,15 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+%:
+	dh $@
+
 override_dh_auto_build:
 	dh_auto_build
 	pod2text Changes.pod > CHANGES
 
-%:
-	dh $@
+override_dh_auto_install:
+	dh_auto_install
+	$(RM) -v $(TMP)/usr/lib/perl5/Set/Changes.pod $(TMP)/usr/share/man/man3/Set::Changes.3pm

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



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