r21893 - in /trunk/libdbd-csv-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Thu Jun 19 16:24:15 UTC 2008


Author: gregoa
Date: Thu Jun 19 16:24:15 2008
New Revision: 21893

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21893
Log:
Refresh debian/rules, no functional changes.

Modified:
    trunk/libdbd-csv-perl/debian/changelog
    trunk/libdbd-csv-perl/debian/rules

Modified: trunk/libdbd-csv-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/debian/changelog?rev=21893&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/debian/changelog (original)
+++ trunk/libdbd-csv-perl/debian/changelog Thu Jun 19 16:24:15 2008
@@ -4,6 +4,7 @@
     Text::CSV_XS module moved to this package); closes: #487015.
   * debian/control: change my email address.
   * Set Standards-Version to 3.8.0 (no changes).
+  * Refresh debian/rules, no functional changes.
 
  -- gregor herrmann <gregoa at debian.org>  Thu, 19 Jun 2008 18:18:56 +0200
 

Modified: trunk/libdbd-csv-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-csv-perl/debian/rules?rev=21893&op=diff
==============================================================================
--- trunk/libdbd-csv-perl/debian/rules (original)
+++ trunk/libdbd-csv-perl/debian/rules Thu Jun 19 16:24:15 2008
@@ -11,28 +11,21 @@
 # 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
 	$(MAKE)
 	$(MAKE) test
-
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-
 	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
 
@@ -41,10 +34,10 @@
 	dh_testdir
 	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
-
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
 	touch $@
 
 binary-arch:
@@ -63,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