r15372 - in /trunk/libmodule-build-perl/debian: changelog rules

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Thu Feb 21 21:03:01 UTC 2008


Author: ntyni
Date: Thu Feb 21 21:02:59 2008
New Revision: 15372

URL: http://svn.debian.org/wsvn/?sc=1&rev=15372
Log:
  + add stamp files and inter-target dependencies

Modified:
    trunk/libmodule-build-perl/debian/changelog
    trunk/libmodule-build-perl/debian/rules

Modified: trunk/libmodule-build-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmodule-build-perl/debian/changelog?rev=15372&op=diff
==============================================================================
--- trunk/libmodule-build-perl/debian/changelog (original)
+++ trunk/libmodule-build-perl/debian/changelog Thu Feb 21 21:02:59 2008
@@ -24,6 +24,7 @@
     + get the package name with dh_listpackages
     + don't ignore the return value of 'Build realclean'
     + remove an unused dh_strip call
+    + add stamp files and inter-target dependencies
   * Comment out the lintian override, as it doesn't seem to actually get
     triggered currently.
   * Don't install the README, it's just a copy of the POD documentation.

Modified: trunk/libmodule-build-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmodule-build-perl/debian/rules?rev=15372&op=diff
==============================================================================
--- trunk/libmodule-build-perl/debian/rules (original)
+++ trunk/libmodule-build-perl/debian/rules Thu Feb 21 21:02:59 2008
@@ -8,20 +8,22 @@
 PACKAGE=$(shell dh_listpackages)
 SHAREDIR=$(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE)
 
-build:
+build: build-stamp
 	dh_testdir
 	perl Build.PL installdirs=vendor
 	./Build
 	./Build test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 
 	[ ! -f Build ] || ./Build realclean
-	dh_clean
+	dh_clean build-stamp install-stamp
 
-install:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
@@ -31,11 +33,12 @@
 	install -d $(SHAREDIR)
 	install -m755 scripts/* $(SHAREDIR)
 	[ ! -d $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5
+	touch $@
 
 binary-arch:
 	# nothing to do
 
-binary-indep: build install
+binary-indep: install
 	dh_testdir
 	dh_testroot
 	dh_installdocs




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