[libapache2-mod-perl2] 07/12: rules: replace hard-coded usr/lib/perl5 with the value of $Config{vendorarch}
gregor herrmann
gregoa at debian.org
Wed Jul 9 21:40:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch gregoa/gcc-4.8
in repository libapache2-mod-perl2.
commit a9d06d9e27be6bb2281ccbccd6b39f8910e5a6ef
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Jun 3 20:27:27 2014 +0000
rules: replace hard-coded usr/lib/perl5 with the value of $Config{vendorarch}
preparing for perl 5.20
---
debian/rules | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 6253c38..cd8f7a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@ TMP = $(CURDIR)/debian/$(PACKAGE)
LMP = $(CURDIR)/lib/ModPerl
MPR = $(CURDIR)/ModPerl-Registry
APR = $(CURDIR)/Apache-Reload
+PVA = $(shell perl -MConfig -e'print substr($$Config{vendorarch},1)')
%:
dh $@ --parallel --with apache2
@@ -69,9 +70,9 @@ override_dh_install:
mv $(TMP)/usr/bin/mp2bug $(TMP)/usr/share/libapache2-mod-perl2/
rm -r $(TMP)/usr/bin/
install -m755 debian/libapache2-mod-perl2.bug $(TMP)/usr/share/bug/libapache2-mod-perl2
- rm $(TMP)/usr/lib/perl5/Apache2/Reload.pm
- rm $(TMP)/usr/lib/perl5/Apache/SizeLimit.pm
- rm $(TMP)/usr/lib/perl5/Apache/Reload.pm
+ rm $(TMP)/$(PVA)/Apache2/Reload.pm
+ rm $(TMP)/$(PVA)/Apache/SizeLimit.pm
+ rm $(TMP)/$(PVA)/Apache/Reload.pm
override_dh_installman:
dh_installman
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapache2-mod-perl2.git
More information about the Pkg-perl-cvs-commits
mailing list