Author: ceros-guest
Date: 2008-01-15 18:39:32 +0000 (Tue, 15 Jan 2008)
New Revision: 5374

Modified:
   packages/trunk/alien-arena/debian/rules
Log:
Supply patch/unpatch targets in debian/rules.

Modified: packages/trunk/alien-arena/debian/rules
===================================================================
--- packages/trunk/alien-arena/debian/rules     2008-01-15 18:35:41 UTC (rev 
5373)
+++ packages/trunk/alien-arena/debian/rules     2008-01-15 18:39:32 UTC (rev 
5374)
@@ -16,14 +16,18 @@
    TYPE=debug
 endif
 
-include /usr/share/dpatch/dpatch.make
-
 fromdos: fromdos-stamp
 fromdos-stamp:
        dh_testdir
        fromdos source/server/sv_main.c
        touch fromdos-stamp
 
+patch: fromdos patch-stamp
+patch-stamp:
+       dh_testdir
+       QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+       touch patch-stamp
+
 build: fromdos patch build-stamp
 build-stamp:
        dh_testdir
@@ -39,6 +43,10 @@
        cd source && $(MAKE) uninstall distclean
        dh_clean
        [ ! -f build-stamp ] || rm build-stamp
+
+unpatch:
+       dh_testdir
+       QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
        [ ! -f patch-stamp ] || rm patch-stamp
 
 todos:


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to