diff options
-rw-r--r-- | debian/debquilt.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/debquilt.mk b/debian/debquilt.mk new file mode 100644 index 0000000..878558d --- /dev/null +++ b/debian/debquilt.mk @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +# Common rules to handle a debian package using the quilt patch utility +patch: + [ -L patches ] || ln -s debian/patches patches + quilt push -a + +unpatch: + if [ -L patches ] ; then \ + quilt pop -a; \ + rm patches; \ + fi + rm -rf .pc |