[libterm-readline-gnu-perl] 01/02: Use $Config{vendorarch} in debian/rules
gregor herrmann
gregoa at debian.org
Mon Jun 2 20:40:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libterm-readline-gnu-perl.
commit d63d1ef28f30c1059337221ac1e1cade252cb9c2
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jun 2 22:16:46 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 5370cdf..e074b98 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 $@
@@ -12,4 +13,4 @@ override_dh_auto_test:
override_dh_installexamples:
dh_installexamples
sed -i '1s|^#.*perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/* \
- $(TMP)/usr/lib/perl5/Term/ReadLine/Gnu/XS.pm
+ $(TMP)$(ARCHLIB)/Term/ReadLine/Gnu/XS.pm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libterm-readline-gnu-perl.git
More information about the Pkg-perl-cvs-commits
mailing list