r18097 - in /trunk/libnet-amazon-s3-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Fri Mar 28 20:28:35 UTC 2008


Author: gregoa-guest
Date: Fri Mar 28 20:28:34 2008
New Revision: 18097

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

Modified:
    trunk/libnet-amazon-s3-perl/debian/changelog
    trunk/libnet-amazon-s3-perl/debian/rules

Modified: trunk/libnet-amazon-s3-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-amazon-s3-perl/debian/changelog?rev=18097&op=diff
==============================================================================
--- trunk/libnet-amazon-s3-perl/debian/changelog (original)
+++ trunk/libnet-amazon-s3-perl/debian/changelog Fri Mar 28 20:28:34 2008
@@ -4,8 +4,9 @@
   * debian/watch: improved regexp for matching upstream releases.
   * debian/copyright: change upstream source location.
   * Add /me to Uploaders.
+  * debian/rules: minor update without functional changes.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 28 Mar 2008 21:25:41 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 28 Mar 2008 21:27:24 +0100
 
 libnet-amazon-s3-perl (0.43-1) unstable; urgency=low
 

Modified: trunk/libnet-amazon-s3-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-amazon-s3-perl/debian/rules?rev=18097&op=diff
==============================================================================
--- trunk/libnet-amazon-s3-perl/debian/rules (original)
+++ trunk/libnet-amazon-s3-perl/debian/rules Fri Mar 28 20:28:34 2008
@@ -3,9 +3,6 @@
 # packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
 # the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
 # be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -14,27 +11,23 @@
 # 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:
 	dh_testdir
-	$(PERL) Makefile.PL installdirs=vendor
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -42,13 +35,13 @@
 	dh_testroot
 	dh_clean -k
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] \
-	    || rmdir --parents --ignore-fail-on-non-empty --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 as this is arch-indep package
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
@@ -64,4 +57,4 @@
 	dh_builddeb
 
 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