r18283 - in /trunk/libmodule-corelist-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Apr 2 20:00:43 UTC 2008


Author: gregoa-guest
Date: Wed Apr  2 20:00:42 2008
New Revision: 18283

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18283
Log:
debian/rules: minor update without functional changes.

Modified:
    trunk/libmodule-corelist-perl/debian/changelog
    trunk/libmodule-corelist-perl/debian/rules

Modified: trunk/libmodule-corelist-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-corelist-perl/debian/changelog?rev=18283&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/debian/changelog (original)
+++ trunk/libmodule-corelist-perl/debian/changelog Wed Apr  2 20:00:42 2008
@@ -1,8 +1,9 @@
 libmodule-corelist-perl (2.15-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * debian/rules: minor update without functional changes.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 02 Apr 2008 21:56:26 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 02 Apr 2008 21:59:33 +0200
 
 libmodule-corelist-perl (2.14-2) unstable; urgency=low
 

Modified: trunk/libmodule-corelist-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-corelist-perl/debian/rules?rev=18283&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/debian/rules (original)
+++ trunk/libmodule-corelist-perl/debian/rules Wed Apr  2 20:00:42 2008
@@ -4,15 +4,16 @@
 # the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
 # be used freely wherever it is useful.
 
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
 export PERL_MM_USE_DEFAULT=1
 
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
@@ -20,7 +21,7 @@
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
@@ -34,11 +35,13 @@
 	dh_testroot
 	dh_clean -k
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-	touch install-stamp
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
 
 binary-arch:
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
@@ -53,8 +56,5 @@
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install




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