r2722 - in /packages/libauthen-sasl-cyrus-perl/trunk/debian: changelog rules

rra at users.alioth.debian.org rra at users.alioth.debian.org
Sun May 7 22:57:21 UTC 2006


Author: rra
Date: Sun May  7 22:57:21 2006
New Revision: 2722

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=2722
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/libauthen-sasl-cyrus-perl/trunk/debian/changelog
    packages/libauthen-sasl-cyrus-perl/trunk/debian/rules

Modified: packages/libauthen-sasl-cyrus-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libauthen-sasl-cyrus-perl/trunk/debian/changelog?rev=2722&op=diff
==============================================================================
--- packages/libauthen-sasl-cyrus-perl/trunk/debian/changelog (original)
+++ packages/libauthen-sasl-cyrus-perl/trunk/debian/changelog Sun May  7 22:57:21 2006
@@ -3,9 +3,14 @@
   * New upstream release.
   * Change maintainers to the Debian Perl Group.
   * Point the watch file at CPAN rather than the (not updated) home page.
+  * 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 15:56:57 -0700
 
 libauthen-sasl-cyrus-perl (0.12-server-4) unstable; urgency=low
 

Modified: packages/libauthen-sasl-cyrus-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libauthen-sasl-cyrus-perl/trunk/debian/rules?rev=2722&op=diff
==============================================================================
--- packages/libauthen-sasl-cyrus-perl/trunk/debian/rules (original)
+++ packages/libauthen-sasl-cyrus-perl/trunk/debian/rules Sun May  7 22:57:21 2006
@@ -19,7 +19,9 @@
     CFLAGS += -O2
 endif
 
-build: build-stamp
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep:
 build-stamp:
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor LIBS="-lsasl2" DEFINE="-DSASL2"
@@ -29,11 +31,10 @@
 clean:
 	dh_testdir
 	dh_testroot
-ifeq (Makefile,$(wildcard Makefile))
-	$(MAKE) realclean
-endif
+	rm -f build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
 	chmod -R u+w $(CURDIR)
-	dh_clean build-stamp install-stamp
+	dh_clean
 
 install: install-stamp
 install-stamp:
@@ -46,7 +47,9 @@
 	rmdir --ignore-fail-on-non-empty --parents $(PREFIX)/share/perl5
 	touch install-stamp
 
-binary-arch: build install
+binary: binary-arch binary-indep
+binary-indep:
+binary-arch: build-stamp install-stamp
 	dh_testdir
 	dh_testroot
 	dh_installdocs README
@@ -62,6 +65,5 @@
 	dh_md5sums
 	dh_builddeb
 
-binary-indep:
-binary:	binary-arch binary-indep
-.PHONY:	binary binary-arch binary-indep build clean install
+.PHONY: binary binary-arch binary-indep build build-arch build-indep clean
+.PHONY: install




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