r2709 - in /packages/libcurses-ui-perl/trunk/debian: changelog rules

rra at users.alioth.debian.org rra at users.alioth.debian.org
Sun May 7 20:49:27 UTC 2006


Author: rra
Date: Sun May  7 20:49:26 2006
New Revision: 2709

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=2709
Log:
* debian/rules cleanup.
  - Add build-arch and build-indep targets just in case.
  - Use a better method of optionally running make distclean.
  - Remove stamp files first in clean target.
  - Improve target dependencies.

Modified:
    packages/libcurses-ui-perl/trunk/debian/changelog
    packages/libcurses-ui-perl/trunk/debian/rules

Modified: packages/libcurses-ui-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libcurses-ui-perl/trunk/debian/changelog?rev=2709&op=diff
==============================================================================
--- packages/libcurses-ui-perl/trunk/debian/changelog (original)
+++ packages/libcurses-ui-perl/trunk/debian/changelog Sun May  7 20:49:26 2006
@@ -3,9 +3,14 @@
   * Change maintainers to the Debian Perl Group.
   * Don't compress the example scripts.
   * Make examples/demo-buttonbox executable.
+  * debian/rules cleanup.
+    - Add build-arch and build-indep targets just in case.
+    - Use a better method of optionally running make distclean.
+    - Remove stamp files first in clean target.
+    - Improve target dependencies.
   * Update standards version to 3.7.2 (no changes required).
 
- --
+ -- Russ Allbery <rra at debian.org>  Sun,  7 May 2006 13:48:30 -0700
 
 libcurses-ui-perl (0.95-4) unstable; urgency=low
 

Modified: packages/libcurses-ui-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libcurses-ui-perl/trunk/debian/rules?rev=2709&op=diff
==============================================================================
--- packages/libcurses-ui-perl/trunk/debian/rules (original)
+++ packages/libcurses-ui-perl/trunk/debian/rules Sun May  7 20:49:26 2006
@@ -18,7 +18,9 @@
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 PERL   ?= /usr/bin/perl
 
-build: build-stamp
+build: build-arch build-indep
+build-arch:
+build-indep: build-stamp
 build-stamp:
 	dh_testdir
 	chmod 755 examples/demo-buttonbox
@@ -29,10 +31,9 @@
 clean:
 	dh_testdir
 	dh_testroot
-ifeq (Makefile,$(wildcard Makefile))
-	$(MAKE) distclean
-endif
-	dh_clean -XTextEditor.pm.orig build-stamp install-stamp
+	rm -f build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean -XTextEditor.pm.orig
 
 install: install-stamp
 install-stamp: build-stamp
@@ -45,7 +46,9 @@
 	rm $(TMP)/usr/share/perl5/Curses/UI/TextEditor.pm.orig
 	touch install-stamp
 
-binary-indep: build install
+binary: binary-arch binary-indep
+binary-arch:
+binary-indep: build-stamp install-stamp
 	dh_testdir
 	dh_testroot
 	dh_installdocs
@@ -61,6 +64,5 @@
 	dh_md5sums
 	dh_builddeb
 
-binary-arch:
-binary: binary-arch binary-indep
-.PHONY: build clean binary-arch binary-indep binary
+.PHONY: binary binary-arch binary-indep build build-arch build-indep clean
+.PHONY: install




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