r18533 - in /trunk/libdevel-cycle-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Apr 12 19:52:07 UTC 2008


Author: gregoa-guest
Date: Sat Apr 12 19:52:06 2008
New Revision: 18533

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

Modified:
    trunk/libdevel-cycle-perl/debian/changelog
    trunk/libdevel-cycle-perl/debian/rules

Modified: trunk/libdevel-cycle-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/changelog?rev=18533&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/changelog (original)
+++ trunk/libdevel-cycle-perl/debian/changelog Sat Apr 12 19:52:06 2008
@@ -3,8 +3,9 @@
   * New upstream release.
   * debian/control: remove trailing comma from Depends: line.
   * debian/copyright: adjust years of copyright to upstream data.
+  * Refresh debian/rules, no functional changes.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 12 Apr 2008 21:50:05 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 12 Apr 2008 21:51:35 +0200
 
 libdevel-cycle-perl (1.07-2) unstable; urgency=low
 

Modified: trunk/libdevel-cycle-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cycle-perl/debian/rules?rev=18533&op=diff
==============================================================================
--- trunk/libdevel-cycle-perl/debian/rules (original)
+++ trunk/libdevel-cycle-perl/debian/rules Sat Apr 12 19:52:06 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 install




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