[libaudio-mixer-perl] 01/02: Use $Config{vendorarch} to get library path in debian/rules.
gregor herrmann
gregoa at debian.org
Mon Aug 11 16:36:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libaudio-mixer-perl.
commit ac264990910fc9e56a4fac86754964735d8bb67f
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Aug 11 18:33:15 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 e3aaa45..5bdab26 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,12 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
%:
dh $@
override_dh_auto_install:
dh_auto_install
# installed as example
- $(RM) -v $(TMP)/usr/lib/perl5/Audio/volume.pl
+ $(RM) -v $(TMP)/$(ARCHLIB)/Audio/volume.pl
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libaudio-mixer-perl.git
More information about the Pkg-perl-cvs-commits
mailing list