[libb-perlreq-perl] 01/04: Use $Config{vendorarch} in debian/rules
gregor herrmann
gregoa at debian.org
Mon Jun 2 18:24:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libb-perlreq-perl.
commit 86c7ac56c3b7b2c44531e221d284e3874fb4bd49
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jun 2 20:19:36 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 a681a2d..b04319f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
%:
dh $@
@@ -10,4 +11,4 @@ override_dh_auto_install:
dh_auto_install
rm -R $(TMP)/usr/bin
rm -R $(TMP)/usr/share/man/man1
- rm $(TMP)/usr/lib/perl5/fake.pm
+ rm $(TMP)$(ARCHLIB)/fake.pm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libb-perlreq-perl.git
More information about the Pkg-perl-cvs-commits
mailing list