[libpadre-plugin-autoformat-perl] 07/08: Simplify debian/rules a bit.

gregor herrmann gregoa at debian.org
Sat May 30 17:28:01 UTC 2015


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

gregoa pushed a commit to branch master
in repository libpadre-plugin-autoformat-perl.

commit 1564d42e0011c3f3966a07276d399420fd8e9d49
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat May 30 19:25:58 2015 +0200

    Simplify debian/rules a bit.
---
 debian/rules | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index bf6022d..4c39a76 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+PACKAGE   = $(shell dh_listpackages)
+TMP       = $(CURDIR)/debian/$(PACKAGE)
+PO_DIR    = $(TMP)/usr/share/perl5/auto/share/dist/Padre-Plugin-Autoformat/locale
 BUILDHOME = $(CURDIR)/debian/build
 
 %:
@@ -9,13 +12,10 @@ override_dh_clean:
 	dh_clean
 	rm -rf $(BUILDHOME)
 
-CMD=$(shell echo $@ | sed 's/override_//')
-
-override_dh_auto_build override_dh_auto_test override_dh_auto_configure:
+override_dh_auto_test:
 	mkdir -p $(BUILDHOME)
-	HOME=$(BUILDHOME) xvfb-run -a $(CMD)
+	HOME=$(BUILDHOME) xvfb-run -a dh_auto_test
 
-PO_DIR = $(CURDIR)/debian/libpadre-plugin-autoformat-perl/usr/share/perl5/auto/share/dist/Padre-Plugin-Autoformat/locale
 
 override_dh_auto_install:
 	dh_auto_install

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



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