[libtest-deep-fuzzy-perl] 02/02: d/rules: use variables

gregor herrmann gregoa at debian.org
Mon Nov 21 18:04:00 UTC 2016


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

gregoa pushed a commit to branch master
in repository libtest-deep-fuzzy-perl.

commit f5cfaee0be3ba5a9f19d97f2b2381a66b12355ca
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Nov 21 19:00:12 2016 +0100

    d/rules: use variables
    
    no functional change, just adapt to our "usual" way,
    cf. https://pkg-perl.alioth.debian.org/debhelper.html#Note_on_Paths ff.
    
    Gbp-Dch: Ignore
---
 debian/rules | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 1ae357f..f2317e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,12 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
 
 override_dh_auto_install:
 	dh_auto_install
 	# remove empty manpage
-	rm --verbose $(CURDIR)/debian/libtest-deep-fuzzy-perl/usr/share/man/man3/Test::Deep::Fuzzy::Number.3pm
+	rm --verbose $(TMP)/usr/share/man/man3/Test::Deep::Fuzzy::Number.3pm

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-deep-fuzzy-perl.git



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