[libset-object-perl] 01/03: Use $Config{vendorarch} to get library path in debian/rules.
gregor herrmann
gregoa at debian.org
Mon Aug 11 17:29:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libset-object-perl.
commit b56ac6afb6a728fe1fef04086d877cfd4ccbced8
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Aug 11 19:23:44 2014 +0200
Use $Config{vendorarch} to get library path in debian/rules.
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 4b9876b..ffae9be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
%:
dh $@
@@ -12,4 +14,4 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install
- $(RM) -v $(TMP)/usr/lib/perl5/Set/Changes.pod $(TMP)/usr/share/man/man3/Set::Changes.3pm
+ $(RM) -v $(TMP)/$(ARCHLIB)/Set/Changes.pod $(TMP)/usr/share/man/man3/Set::Changes.3pm
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libset-object-perl.git
More information about the Pkg-perl-cvs-commits
mailing list