[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 1.24.3-42-g91b1018



The following commit has been merged in the master branch:
commit a713a802fcdd7c38c66fca571b87b2034ca70c5a
Author: Frank Lichtenheld <djpig@debian.org>
Date:   Fri Aug 15 11:57:41 2008 -0300

    debian/rules: Use $(PERL) instead of a hardcoded path

diff --git a/debian/changelog b/debian/changelog
index c8c9104..df55070 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,9 @@ lintian (1.24.4) UNRELEASED; urgency=low
     + [ADB] Correctly parse a readelf symbol version block containing the
       definition of a single symbol.
 
+  * debian/rules:
+    + [FL] Use $(PERL) instead of a hardcoded path.
+  
   * frontend/lintian:
     + [FL] Do not try to use fail() before the lintian libraries are
       loaded.
diff --git a/debian/rules b/debian/rules
index 65e9bae..1669cfa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+PERL ?= /usr/bin/perl
+
 VER := $(shell head -1 debian/changelog | sed -e 's/^.*(//' -e 's/).*$$//')
 tmp := $(CURDIR)/debian/lintian
 usl := $(tmp)/usr/share/lintian
@@ -13,8 +15,8 @@ onlyrun =
 runtests: $(neededfiles) $(allchecks) $(allcollect) $(tagfiles) $(testfiles)
 	@echo .... running tests ....
 	[ -d debian/tests ] || mkdir debian/tests
-	LINTIAN_ROOT="" /usr/bin/perl testset/runtests -k testset debian/tests $(onlyrun)
-	LINTIAN_ROOT="" /usr/bin/perl t/runtests -k t debian/tests $(onlyrun)
+	LINTIAN_ROOT="" $(PERL) testset/runtests -k testset debian/tests $(onlyrun)
+	LINTIAN_ROOT="" $(PERL) t/runtests -k t debian/tests $(onlyrun)
 	if [ "$(onlyrun)" != "" ]; then touch $@; fi
 
 build: $(neededfiles)

-- 
Debian package checker


Reply to: