[libtaint-runtime-perl] 05/07: using $(TMP) variable in d/rules is a better approach

Joenio Costa joenio-guest at alioth.debian.org
Tue Aug 27 16:40:28 UTC 2013


This is an automated email from the git hooks/post-receive script.

joenio-guest pushed a commit to branch master
in repository libtaint-runtime-perl.

commit 0b91116ff057024134643b111e48e565c5a44cf0
Author: Joenio Costa <joenio at colivre.coop.br>
Date:   Tue Aug 27 13:15:27 2013 -0300

    using $(TMP) variable in d/rules is a better approach
---
 debian/changelog |    3 ---
 debian/rules     |    5 ++++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9663151..efa7526 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,6 @@
 libtaint-runtime-perl (0.3-1) UNRELEASED; urgency=low
 
   TODO:
-  - d/rules:
-    + using variables is nice: http://pkg-perl.alioth.debian.org/debhelper.html
-      "Note on paths" and "Removing something"
   - d/copyright: I don't find any copyright statement anywhere in the code,
     only an author. Either bug upstream about it and/or add the "Berne
     Convention" comment from
diff --git a/debian/rules b/debian/rules
index 8a22d2c..ff89c56 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,11 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
 
 override_dh_auto_install:
-	rm debian/libtaint-runtime-perl/usr/lib/perl5/Taint/is_taint_bench.pl
 	dh_auto_install
+	rm $(TMP)/usr/lib/perl5/Taint/is_taint_bench.pl

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtaint-runtime-perl.git



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