r18522 - in /trunk/libwww-myspace-perl/debian: changelog rules

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


Author: gregoa-guest
Date: Sat Apr 12 19:35:20 2008
New Revision: 18522

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

Modified:
    trunk/libwww-myspace-perl/debian/changelog
    trunk/libwww-myspace-perl/debian/rules

Modified: trunk/libwww-myspace-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-myspace-perl/debian/changelog?rev=18522&op=diff
==============================================================================
--- trunk/libwww-myspace-perl/debian/changelog (original)
+++ trunk/libwww-myspace-perl/debian/changelog Sat Apr 12 19:35:20 2008
@@ -1,8 +1,9 @@
 libwww-myspace-perl (0.77-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * Refresh debian/rules, no functional changes.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 12 Apr 2008 21:25:58 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 12 Apr 2008 21:33:44 +0200
 
 libwww-myspace-perl (0.75-1) unstable; urgency=low
 

Modified: trunk/libwww-myspace-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-myspace-perl/debian/rules?rev=18522&op=diff
==============================================================================
--- trunk/libwww-myspace-perl/debian/rules (original)
+++ trunk/libwww-myspace-perl/debian/rules Sat Apr 12 19:35:20 2008
@@ -11,13 +11,9 @@
 # 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:
@@ -26,13 +22,12 @@
 	$(MAKE)
 	# explicitly list only those tests that don't require network access.
 	$(MAKE) test TEST_FILES="t/00-load.t t/pod.t t/pod-coverage.t"
-	touch build-stamp
+	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
@@ -41,16 +36,13 @@
 	dh_testroot
 	dh_clean -k
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --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 by default.
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
@@ -66,8 +58,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