diff options
author | Martin Quinson <mquinson@debian.org> | 2003-06-26 13:42:46 +0000 |
---|---|---|
committer | Martin Quinson <mquinson@debian.org> | 2003-06-26 13:42:46 +0000 |
commit | 73c094c3b43fcfc5fdb5856108f08ca45bcb1120 (patch) | |
tree | 93e302eaebcfce8765bc1ad8dc5ae6f348cc6b9d /debian/debquilt.mk | |
parent | 6317bc418436bf7538c135fd2f8df6b979fc427f (diff) | |
download | quilt-73c094c3b43fcfc5fdb5856108f08ca45bcb1120.tar.gz |
Makefile chunk to manage debian packages using quilt
Diffstat (limited to 'debian/debquilt.mk')
-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 |