r79 - mdadm/trunk/debian

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Mon Aug 7 10:09:08 UTC 2006


Author: madduck
Date: 2006-08-07 10:09:08 +0000 (Mon, 07 Aug 2006)
New Revision: 79

Modified:
   mdadm/trunk/debian/rules
Log:
improved dpatch handling

Modified: mdadm/trunk/debian/rules
===================================================================
--- mdadm/trunk/debian/rules	2006-08-03 22:07:16 UTC (rev 78)
+++ mdadm/trunk/debian/rules	2006-08-07 10:09:08 UTC (rev 79)
@@ -17,11 +17,16 @@
 
 include /usr/share/dpatch/dpatch.make
 
-.PHONY: configure
-configure:
+$(DPATCH_STAMPFN): debian/patches/00list
+force-run:
+.PHONY: force-run
+debian/patches/00list: force-run
 	dh_testdir
 	make -sC debian/patches
 
+.PHONY: configure
+configure: debian/patches/00list
+
 build: configure patch build-stamp
 build-stamp: 
 	dh_testdir
@@ -44,6 +49,8 @@
 .PHONY: mdadm
 
 clean: clean-patched unpatch
+	rm -f debian/patches/00list
+
 clean-patched:
 	dh_testdir
 	dh_testroot
@@ -57,7 +64,6 @@
 install: DESTDIR_UDEB=$(DESTDIR)-udeb
 install: build
 	dh_testdir
-	dh_testroot
 	dh_clean -k
 	dh_installdirs
 	install -m0755 mdadm $(DESTDIR)/sbin




More information about the pkg-mdadm-commits mailing list