diff options
author | Martin Quinson <mquinson@debian.org> | 2005-12-01 13:45:35 +0000 |
---|---|---|
committer | Martin Quinson <mquinson@debian.org> | 2005-12-01 13:45:35 +0000 |
commit | 10fc7b66402be353d3bac4a10d08838f6eba9701 (patch) | |
tree | d2f5f601cf82b591b39eada0098f782e774372ea /debian/quilt.make | |
parent | 21250c65d1d045466f1f4c6c97435015491fa69e (diff) | |
download | quilt-10fc7b66402be353d3bac4a10d08838f6eba9701.tar.gz |
Resync the CVS with the content of the package
Diffstat (limited to 'debian/quilt.make')
-rw-r--r-- | debian/quilt.make | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/quilt.make b/debian/quilt.make new file mode 100644 index 0000000..f9fe718 --- /dev/null +++ b/debian/quilt.make @@ -0,0 +1,24 @@ +# +# This file tries to mimick /usr/share/dpatch/dpatch.make +# + +# -*- Makefile -*-, you silly Emacs! +# vim: set ft=make: + +# QUILT_STAMPFN: stamp file to use +QUILT_STAMPFN ?= stamp-patched + +# QUILT_PATCH_DIR: where the patches live +QUILT_PATCH_DIR ?= debian/patches + +patch: $(QUILT_STAMPFN) +$(QUILT_STAMPFN): + # quilt exits with 2 as return when there was nothing to do. + # That's not an error here (but it's usefull to break loops in crude scripts) + QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt push -a || test $$? = 2 + touch debian/$(QUILT_STAMPFN) + +unpatch: + QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt pop -a -R || test $$? = 2 + rm -rf .pc debian/$(QUILT_STAMPFN) + |