r9049 - in /trunk/libtk-pod-perl/debian: changelog rules

djpig at users.alioth.debian.org djpig at users.alioth.debian.org
Thu Nov 8 17:36:54 UTC 2007


Author: djpig
Date: Thu Nov  8 17:36:54 2007
New Revision: 9049

URL: http://svn.debian.org/wsvn/?sc=1&rev=9049
Log:
debian/rules cleanup

Modified:
    trunk/libtk-pod-perl/debian/changelog
    trunk/libtk-pod-perl/debian/rules

Modified: trunk/libtk-pod-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtk-pod-perl/debian/changelog?rev=9049&op=diff
==============================================================================
--- trunk/libtk-pod-perl/debian/changelog (original)
+++ trunk/libtk-pod-perl/debian/changelog Thu Nov  8 17:36:54 2007
@@ -1,3 +1,15 @@
+libtk-pod-perl (0.9936-2) UNRELEASED; urgency=low
+
+  * debian/rules: Cleanup:
+     + move build to build target
+     + make install depend on build
+     + introduce build-stamp
+     + split PREFIX into DESTDIR and PREFIX
+     + move dh_clean before $(MAKE) clean
+     + remove non-existant configure target from .PHONY
+
+ -- Frank Lichtenheld <djpig at debian.org>  Thu, 08 Nov 2007 18:35:31 +0100
+
 libtk-pod-perl (0.9936-1) unstable; urgency=low
 
   [ Gregor Herrmann]

Modified: trunk/libtk-pod-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtk-pod-perl/debian/rules?rev=9049&op=diff
==============================================================================
--- trunk/libtk-pod-perl/debian/rules (original)
+++ trunk/libtk-pod-perl/debian/rules Thu Nov  8 17:36:54 2007
@@ -13,22 +13,25 @@
 include /usr/share/quilt/quilt.make
 
 
-build: patch
+build: build-stamp
+build-stamp: debian/stamp-patched
 	dh_testdir
 	perl Makefile.PL verbose INSTALLDIRS=vendor
+	$(MAKE)
 	xvfb-run $(MAKE) test
+
 clean: unpatch
 	dh_testdir
 	dh_testroot
+	dh_clean build-stamp
 	chmod a-x Pod_usage.pod
 	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean
 
-install:
+install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(MAKE) PREFIX=$(debtmp)/usr install
+	$(MAKE) DESTDIR=$(debtmp) PREFIX=/usr install
 	rm -rf $(debtmp)/usr/lib
 
 binary-indep: build install
@@ -47,4 +50,4 @@
 binary-arch: build install
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




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