[Foo2zjs-commits] r136 - trunk/foo2zjs_20070718dfsg/debian

bedo-guest at alioth.debian.org bedo-guest at alioth.debian.org
Wed Nov 7 16:04:02 UTC 2007


Author: bedo-guest
Date: 2007-11-07 16:04:02 +0000 (Wed, 07 Nov 2007)
New Revision: 136

Modified:
   trunk/foo2zjs_20070718dfsg/debian/rules
Log:
Changed debian/rules to use /usr/share/dpatch/dpatch.make


Modified: trunk/foo2zjs_20070718dfsg/debian/rules
===================================================================
--- trunk/foo2zjs_20070718dfsg/debian/rules	2007-11-07 12:23:15 UTC (rev 135)
+++ trunk/foo2zjs_20070718dfsg/debian/rules	2007-11-07 16:04:02 UTC (rev 136)
@@ -3,6 +3,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpatch/dpatch.make
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -18,9 +20,8 @@
 QMAKE = qmake-qt4
 
 configure: configure-stamp
-configure-stamp:
+configure-stamp: patch-stamp
 	dh_testdir
-	dpatch apply-all
 	cd debian/hannah-package/ && $(QMAKE)
 	touch configure-stamp
 
@@ -32,11 +33,10 @@
 	cd debian/hannah-package && $(MAKE)
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
-	dpatch deapply-all
 	rm -rf debian/patched
 	[ ! -f debian/hannah-package/Makefile ] || (cd debian/hannah-package/ && $(MAKE) distclean)
 	rm -rf debian/hannah-package/hannah




More information about the Foo2zjs-commits mailing list