[libtaint-runtime-perl] 01/03: Use $Config{vendorarch} in debian/rules

gregor herrmann gregoa at debian.org
Mon Jun 2 20:13:41 UTC 2014


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

gregoa pushed a commit to branch master
in repository libtaint-runtime-perl.

commit 0fbec2ed34149ef3c60bc0b5ecf39131741d4624
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jun 2 22:12:04 2014 +0200

    Use $Config{vendorarch} in debian/rules
    
    as a preparation for the multi-arched perl 5.20.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ff89c56..024913e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,11 @@
 
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
 
 %:
 	dh $@
 
 override_dh_auto_install:
 	dh_auto_install
-	rm $(TMP)/usr/lib/perl5/Taint/is_taint_bench.pl
+	rm $(TMP)$(ARCHLIB)/Taint/is_taint_bench.pl

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



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