r15065 - in /trunk/libsub-uplevel-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Feb 17 15:32:51 UTC 2008


Author: gregoa-guest
Date: Sun Feb 17 15:32:50 2008
New Revision: 15065

URL: http://svn.debian.org/wsvn/?sc=1&rev=15065
Log:
debian/rules:
  - use $(PERL) instead of perl
  - remove some comments and empty lines

Modified:
    trunk/libsub-uplevel-perl/debian/changelog
    trunk/libsub-uplevel-perl/debian/rules

Modified: trunk/libsub-uplevel-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libsub-uplevel-perl/debian/changelog?rev=15065&op=diff
==============================================================================
--- trunk/libsub-uplevel-perl/debian/changelog (original)
+++ trunk/libsub-uplevel-perl/debian/changelog Sun Feb 17 15:32:50 2008
@@ -6,8 +6,11 @@
     - extend regexp for mathing upstream tarballs.
   * Set debhelper compatibility level to 6.
   * debian/copyright: update years of copyright.
+  * debian/rules:
+    - use $(PERL) instead of perl
+    - remove some comments and empty lines
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 17 Feb 2008 16:26:44 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 17 Feb 2008 16:28:09 +0100
 
 libsub-uplevel-perl (0.18-1) unstable; urgency=low
 

Modified: trunk/libsub-uplevel-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libsub-uplevel-perl/debian/rules?rev=15065&op=diff
==============================================================================
--- trunk/libsub-uplevel-perl/debian/rules (original)
+++ trunk/libsub-uplevel-perl/debian/rules Sun Feb 17 15:32:50 2008
@@ -10,29 +10,30 @@
 PACKAGE=$(shell dh_listpackages)
 TMP=$(CURDIR)/debian/$(PACKAGE)
 
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-	# Add here commands to compile the package.
-	perl Build.PL installdirs=vendor verbose=1
-	./Build
-	AUTHOR_TESTING=1 ./Build test
+	$(PERL) Build.PL installdirs=vendor verbose=1
+	$(PERL) Build
+	AUTHOR_TESTING=1 $(PERL) Build test
 	touch $@
-	
+
 clean: unpatch
 	dh_testdir
 	dh_testroot
-
 	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || ./Build distclean
+	[ ! -f Build ] || $(PERL) Build distclean
 
 install: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	./Build destdir=$(TMP) install create_packlist=0
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
 	touch $@
 
 binary-arch:;




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