r5093 - packages/trunk/warzone2100/debian

Paul Wise pabs at alioth.debian.org
Sat Dec 29 03:42:36 UTC 2007


Author: pabs
Date: 2007-12-29 03:42:36 +0000 (Sat, 29 Dec 2007)
New Revision: 5093

Modified:
   packages/trunk/warzone2100/debian/changelog
   packages/trunk/warzone2100/debian/rules
Log:
* Use the quilt make snippet instead of custom patch rules

Modified: packages/trunk/warzone2100/debian/changelog
===================================================================
--- packages/trunk/warzone2100/debian/changelog	2007-12-29 03:38:46 UTC (rev 5092)
+++ packages/trunk/warzone2100/debian/changelog	2007-12-29 03:42:36 UTC (rev 5093)
@@ -7,6 +7,7 @@
   * Use the upstream SVG icon and FreeDesktop menu file
   * Don't ignore errors from make clean
   * Bump Standards-Version (no changes)
+  * Use the quilt make snippet instead of custom patch rules
 
  -- Paul Wise <pabs at debian.org>  Sat, 29 Dec 2007 10:32:03 +0930
 

Modified: packages/trunk/warzone2100/debian/rules
===================================================================
--- packages/trunk/warzone2100/debian/rules	2007-12-29 03:38:46 UTC (rev 5092)
+++ packages/trunk/warzone2100/debian/rules	2007-12-29 03:42:36 UTC (rev 5093)
@@ -2,6 +2,7 @@
 
 #export DH_VERBOSE=1
 
+include /usr/share/quilt/quilt.make
 
 DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -36,27 +37,6 @@
 # -------------------------------------
 
 
-# Apply all patches
-# -------------------------------------
-patch: patch-stamp
-
-patch-stamp:
-	dh_testdir
-	-test -r debian/patches/series && QUILT_PATCHES=debian/patches quilt -a push
-	touch $@
-# -------------------------------------
-
-
-# Remove all patches
-# -------------------------------------
-unpatch: patch
-	dh_testdir
-	-test -r debian/patches/series && QUILT_PATCHES=debian/patches quilt -af pop
-	rm -f patch-stamp
-	rm -rf .pc
-# -------------------------------------
-
-
 # Compile the binary
 # -------------------------------------
 build: build-stamp




More information about the Pkg-games-commits mailing list