r5385 - packages/trunk/scorched3d/debian

Gonéri LE BOUDER goneri-guest at alioth.debian.org
Tue Jan 15 22:26:12 UTC 2008


Author: goneri-guest
Date: 2008-01-15 22:26:12 +0000 (Tue, 15 Jan 2008)
New Revision: 5385

Modified:
   packages/trunk/scorched3d/debian/rules
Log:
arg, I used dpatch instead of quilt :)

Modified: packages/trunk/scorched3d/debian/rules
===================================================================
--- packages/trunk/scorched3d/debian/rules	2008-01-15 22:23:32 UTC (rev 5384)
+++ packages/trunk/scorched3d/debian/rules	2008-01-15 22:26:12 UTC (rev 5385)
@@ -4,8 +4,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
-
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -20,8 +18,9 @@
 	CFLAGS += -O2
 endif
 
-config.status: patch-stamp
+config.status:
 	dh_testdir
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
 	uudecode -o data/fonts/test.ttf debian/test.ttf.uu
 	./configure \
 		CFLAGS="$(CFLAGS) -D_GNU_SOURCE -DHAVE_VASPRINTF" \
@@ -38,14 +37,16 @@
 	$(MAKE)
 	touch build-stamp
 
-clean: unpatch
+clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
 	[ ! -f Makefile ] || $(MAKE) distclean
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 	dh_clean debian/scorched3d.png
 	rm -f data/fonts/test.ttf
 	rm -f config.log config.status
+	rm -rf .pc
 	dh_clean 
 
 install: build




More information about the Pkg-games-commits mailing list