r20689 - in /trunk/libvalidate-net-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Wed Jun 4 17:17:05 UTC 2008


Author: gregoa
Date: Wed Jun  4 17:17:05 2008
New Revision: 20689

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

Modified:
    trunk/libvalidate-net-perl/debian/changelog
    trunk/libvalidate-net-perl/debian/rules

Modified: trunk/libvalidate-net-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libvalidate-net-perl/debian/changelog?rev=20689&op=diff
==============================================================================
--- trunk/libvalidate-net-perl/debian/changelog (original)
+++ trunk/libvalidate-net-perl/debian/changelog Wed Jun  4 17:17:05 2008
@@ -2,6 +2,7 @@
 
   * New upstream release.
   * debian/copyright: update years of copyright.
+  * Refresh debian/rules, no functional changes.
 
  -- gregor herrmann <gregoa at debian.org>  Wed, 04 Jun 2008 19:13:19 +0200
 

Modified: trunk/libvalidate-net-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libvalidate-net-perl/debian/rules?rev=20689&op=diff
==============================================================================
--- trunk/libvalidate-net-perl/debian/rules (original)
+++ trunk/libvalidate-net-perl/debian/rules Wed Jun  4 17:17:05 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