[SCM] Packaging of libvm-ec2-perl branch, master, updated. 8b29cf117514c06ce7cbb20d3dfd0eba53b70c6e

Olivier Sallou olivier.sallou at debian.org
Tue Sep 11 14:25:49 UTC 2012


The following commit has been merged in the master branch:
commit 56cc9bcfef129ebbaf312aedac6beb2103d5e8f9
Author: Olivier Sallou <olivier.sallou at debian.org>
Date:   Tue Sep 11 16:25:10 2012 +0200

    use variables for path

diff --git a/debian/rules b/debian/rules
index 26055df..ca1ef7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,12 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
 
 override_dh_auto_install:
 	dh_auto_install
-	rename 's/\.pl//' debian/libvm-ec2-perl/usr/bin/*.pl
-	rename 's/\.pl//' debian/libvm-ec2-perl/usr/share/man/man1/*
+	rename 's/\.pl//' $(TMP)/usr/bin/*.pl
+	rename 's/\.pl//' $(TMP)/usr/share/man/man1/*

-- 
Packaging of libvm-ec2-perl



More information about the Pkg-perl-cvs-commits mailing list