r19316 - in /trunk/librpc-xml-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Thu May 1 11:34:56 UTC 2008


Author: gregoa
Date: Thu May  1 11:34:53 2008
New Revision: 19316

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

Modified:
    trunk/librpc-xml-perl/debian/changelog
    trunk/librpc-xml-perl/debian/rules

Modified: trunk/librpc-xml-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/changelog?rev=19316&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/changelog (original)
+++ trunk/librpc-xml-perl/debian/changelog Thu May  1 11:34:53 2008
@@ -4,8 +4,9 @@
     dependency to fix an FTBFS bug (closes: #476032).
   * Make (build) dependency on libwww-perl versioned.
   * debian/control: change my email address.
+  * Refresh debian/rules, no functional changes.
 
- -- gregor herrmann <gregoa at debian.org>  Thu, 01 May 2008 13:27:13 +0200
+ -- gregor herrmann <gregoa at debian.org>  Thu, 01 May 2008 13:32:04 +0200
 
 librpc-xml-perl (0.60-1) unstable; urgency=low
 

Modified: trunk/librpc-xml-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/librpc-xml-perl/debian/rules?rev=19316&op=diff
==============================================================================
--- trunk/librpc-xml-perl/debian/rules (original)
+++ trunk/librpc-xml-perl/debian/rules Thu May  1 11:34:53 2008
@@ -7,60 +7,42 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
+PACKAGE = $(shell dh_listpackages)
+PERL   ?= /usr/bin/perl
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
 	dh_testdir
-
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
-
 	$(MAKE) test
-
 	# Generate the example code
 	$(MAKE) -C ex MAKEMETHOD="$(PERL) ../etc/make_method"
-
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
-
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
-
 	$(MAKE) -C ex clean
-
-	rm -rf Makefile Makefile.old
-
-	dh_clean build-stamp install-stamp
 
 install: install-stamp
 install-stamp: build-stamp
 	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 $@
 
-# Build architecture-dependent files here
 binary-arch:
 	# since this is an Architecture: all package, we don't do anything here
-	# this target is provided to satisfy lintian, despite the fact that
-	# this target is marked "optional" by section 4.8 of the policy
 
-
-# Build architecture-independent files here.
 binary-indep: build install
 	dh_testdir
 	dh_testroot




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