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

gregoa pushed a commit to branch master
in repository libdancer-plugin-auth-extensible-perl.

commit 9d7b6584c1be053360a4aded5fe8c623bdd69cab
Author: gregor herrmann <gre...@debian.org>
Date:   Thu Aug 3 16:47:16 2017 -0400

    standardize removal of files/directories
    
    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 a85c6ff..7652e8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,13 @@
 #!/usr/bin/make -f
 
-pkg := $(shell dpkg-parsechangelog --show-field=Source)
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
        dh $@
 
 override_dh_auto_install:
        dh_auto_install
-       rm --verbose $(CURDIR)/debian/$(pkg)/usr/bin/generate-crypted-password
+       $(RM) --verbose $(TMP)/usr/bin/generate-crypted-password
        # delete the empty directory as well
-       rmdir --verbose $(CURDIR)/debian/$(pkg)/usr/bin
+       rmdir --verbose $(TMP)/usr/bin

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-auth-extensible-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to