This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch quake
in repository game-data-packager.

commit 0b2c6c841fdab61ae7519489ff86293765b58a37
Author: Marc Leeman <marc.lee...@gmail.com>
Date:   Fri Feb 17 13:35:11 2006 +0000

    forgot the rules with patch support
---
 debian/rules | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 15953a1..077472a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,11 +29,11 @@ ifeq ($(Q3ARCH),i386)
 endif
 
 configure: configure-stamp
-configure-stamp:
+configure-stamp: patch-stamp
        dh_testdir
        touch configure-stamp
 
-build: build-stamp
+build: unpack build-stamp
 build-stamp: configure-stamp
        dh_testdir
        $(MAKE) $(BUILD_FLAGS)
@@ -41,13 +41,13 @@ build-stamp: configure-stamp
        /usr/bin/docbook-to-man debian/ioquake3.sgml > ioquake3.6
        touch build-stamp
 
-clean:
+clean: unpatch
        dh_testdir
        dh_testroot
        -$(MAKE) distclean
        
        # Clean up files we generated on our own
-       -rm -f build-stamp configure-stamp ioq3ded.6 ioquake3.6 ioquake3.xpm
+       -rm -f build-stamp configure-stamp unpack-stamp ioq3ded.6 ioquake3.6 
ioquake3.xpm
        dh_clean
 
 install: DH_OPTIONS=
@@ -115,5 +115,19 @@ binary-arch: build install
        dh_md5sums
        dh_builddeb
 
+unpack: unpack-stamp
+
+unpack-stamp:
+       touch unpack-stamp
+
+patch: patch-stamp
+
+patch-stamp:
+       quilt --quiltrc debian/quiltrc -a push || true
+
+unpatch:
+       quilt --quiltrc debian/quiltrc -a pop  || true
+       rm -rf patch-stamp .pc
+
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build clean binary-indep binary-arch binary install patch unpatch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/game-data-packager.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to