r17350 - in /trunk/libreadonly-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Mar 12 20:58:07 UTC 2008


Author: gregoa-guest
Date: Wed Mar 12 20:58:06 2008
New Revision: 17350

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17350
Log:
debian/rules:
  - move dh_clean before make realclean and use it for removing stamp
    files
  - create install-stamp target

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

Modified: trunk/libreadonly-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libreadonly-perl/debian/changelog?rev=17350&op=diff
==============================================================================
--- trunk/libreadonly-perl/debian/changelog (original)
+++ trunk/libreadonly-perl/debian/changelog Wed Mar 12 20:58:06 2008
@@ -1,11 +1,15 @@
 libreadonly-perl (1.03-2) UNRELEASED; urgency=low
 
   * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467993).
+  * debian/rules:
+    - move dh_clean before make realclean and use it for removing stamp
+      files
+    - create install-stamp target
   * debian/watch: use dist-based URL.
   * Set Standards-Version to 3.7.3 (no changes).
   * Add /me to Uploaders.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 12 Mar 2008 21:54:29 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 12 Mar 2008 21:55:30 +0100
 
 libreadonly-perl (1.03-1) unstable; urgency=low
 

Modified: trunk/libreadonly-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libreadonly-perl/debian/rules?rev=17350&op=diff
==============================================================================
--- trunk/libreadonly-perl/debian/rules (original)
+++ trunk/libreadonly-perl/debian/rules Wed Mar 12 20:58:06 2008
@@ -10,8 +10,7 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-
-build-stamp: 
+build-stamp:
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
@@ -22,16 +21,19 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean 
 
-install: build
+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
 	rm -f $(TMP)/usr/share/perl5/benchmark.pl
+	touch $@
+
 binary-arch:
 
 binary-indep: build install




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