r19900 - in /trunk/libcoat-persistent-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Mon May 12 13:39:38 UTC 2008


Author: gregoa
Date: Mon May 12 13:39:37 2008
New Revision: 19900

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

Modified:
    trunk/libcoat-persistent-perl/debian/changelog
    trunk/libcoat-persistent-perl/debian/rules

Modified: trunk/libcoat-persistent-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoat-persistent-perl/debian/changelog?rev=19900&op=diff
==============================================================================
--- trunk/libcoat-persistent-perl/debian/changelog (original)
+++ trunk/libcoat-persistent-perl/debian/changelog Mon May 12 13:39:37 2008
@@ -5,6 +5,7 @@
       were broken under perl 5.10 because of the unusal version number
       (closes: #479942)
     - change my email address
+  * Refresh debian/rules, no functional changes.
 
  -- gregor herrmann <gregoa at debian.org>  Mon, 12 May 2008 15:31:09 +0200
 

Modified: trunk/libcoat-persistent-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcoat-persistent-perl/debian/rules?rev=19900&op=diff
==============================================================================
--- trunk/libcoat-persistent-perl/debian/rules (original)
+++ trunk/libcoat-persistent-perl/debian/rules Mon May 12 13:39:37 2008
@@ -11,32 +11,22 @@
 # 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
-
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
 	$(MAKE) test
-
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-
 	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
 	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
@@ -44,12 +34,10 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	# Add commands to install the package into $(TMP) here
 	$(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:
@@ -68,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