[rex] 01/01: standardize removal of file (and get rid of dpkg-parsechangelog)
gregor herrmann
gregoa at debian.org
Thu Aug 3 21:11:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository rex.
commit d8eb236a954d64ec4f20c96119a82b9e0e616c00
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Aug 3 17:11:03 2017 -0400
standardize removal of file (and get rid of dpkg-parsechangelog)
Gbp-Dch: Ignore
---
debian/rules | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 55c807b..39f5b7a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,12 @@
#!/usr/bin/make -f
-pkg := $(shell dpkg-parsechangelog --show-field=Source)
-mandir := $(CURDIR)/debian/$(pkg)/usr/share/man/man3
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+MANDIR = $(TMP)/usr/share/man/man3
%:
dh $@
override_dh_auto_install:
dh_auto_install
- rm --verbose $(mandir)/Rex::Resource::Common.3pm
+ (RM) --verbose $(MANDIR)/Rex::Resource::Common.3pm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/rex.git
More information about the Pkg-perl-cvs-commits
mailing list