r11146 - in /trunk/libwww-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Dec 12 11:56:51 UTC 2007


Author: dmn
Date: Wed Dec 12 11:56:51 2007
New Revision: 11146

URL: http://svn.debian.org/wsvn/?sc=1&rev=11146
Log:
* Clean debian/rules:
  + drop unneeded arrange target
  + drop unnecessary binary-stamp, binary-arch-stamp and binary-indep-stamp
  + fix target inter-dependencies
    - make install-stamp depend on build-stamp
  + drop unused dh_installexamples
  + move cleaning of -stamp files before distclean

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

Modified: trunk/libwww-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libwww-perl/debian/changelog?rev=11146&op=diff
==============================================================================
--- trunk/libwww-perl/debian/changelog (original)
+++ trunk/libwww-perl/debian/changelog Wed Dec 12 11:56:51 2007
@@ -32,6 +32,13 @@
     + Note perl's licensing terms
     + A few more words to packaging license
   * Add myself to Uploaders
+  * Clean debian/rules:
+    + drop unneeded arrange target
+    + drop unnecessary binary-stamp, binary-arch-stamp and binary-indep-stamp
+    + fix target inter-dependencies
+      - make install-stamp depend on build-stamp
+    + drop unused dh_installexamples
+    + move cleaning of -stamp files before distclean
 
  -- Damyan Ivanov <dmn at debian.org>  Wed, 12 Dec 2007 13:24:32 +0200
 

Modified: trunk/libwww-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libwww-perl/debian/rules?rev=11146&op=diff
==============================================================================
--- trunk/libwww-perl/debian/rules (original)
+++ trunk/libwww-perl/debian/rules Wed Dec 12 11:56:51 2007
@@ -17,27 +17,13 @@
 
 TMP = $(CURDIR)/debian/$(PACKAGE)
 
-arrange: arrange-stamp
-arrange-stamp: install
-	dh_testdir
-	dh_installdirs
-	touch arrange-stamp
+binary: binary-indep binary-arch
 
-binary: binary-stamp
-binary-stamp: binary-indep binary-arch
-	dh_testdir
-	touch binary-stamp
+binary-arch:
 
-binary-arch: binary-arch-stamp
-binary-arch-stamp: arrange
-	dh_testdir
-	touch binary-arch-stamp
-
-binary-indep: binary-indep-stamp
-binary-indep-stamp: arrange
+binary-indep: build
 	dh_testdir
 	dh_testroot
-	dh_installexamples
 	dh_installdocs
 	dh_installchangelogs Changes
 	dh_link
@@ -48,7 +34,6 @@
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
-	touch binary-indep-stamp
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
@@ -56,25 +41,24 @@
 	$(PERL) Makefile.PL INSTALLDIRS=vendor \
 		INSTALLVENDORARCH=/usr/share/perl5/ \
 		VENDORARCHEXP=/usr/share/perl5/
+	$(MAKE)
 	# Turn off the live checks
 	if [ -f t/live/ENABLED ]; then rm t/live/ENABLED; fi
 	if [ -f t/live/ZLIB_OK ]; then rm t/live/ZLIB_OK; fi
-	$(MAKE)
 	$(MAKE) test
 	touch build-stamp
 
 clean: unpatch
 	dh_testdir
 	dh_testroot
-	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-	dh_clean arrange-stamp binary-stamp binary-arch-stamp \
-		binary-indep-stamp build-stamp install-stamp
+	dh_clean build-stamp install-stamp
+	if [ -e Makefile ]; then $(MAKE) distclean; fi
 
 install: install-stamp
-install-stamp: build
+install-stamp: build-stamp
 	dh_testdir
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
 	touch install-stamp
 
-.PHONY: arrange binary binary-arch binary-indep build clean install
+.PHONY: binary binary-arch binary-indep build clean install




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