/usr/share/quilt/quilt.make is in quilt 0.63-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # -*- Makefile -*-, you silly Emacs!
# vim: set ft=make:
#
# This file tries to mimick /usr/share/dpatch/dpatch.make
#
# QUILT_STAMPFN: stamp file to use
QUILT_STAMPFN ?= debian/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
QUILT_PATCHES=$(QUILT_PATCH_DIR) \
quilt --quiltrc /dev/null push -a || test $$? = 2
touch $(QUILT_STAMPFN)
unpatch:
QUILT_PATCHES=$(QUILT_PATCH_DIR) \
quilt --quiltrc /dev/null pop -a -R || test $$? = 2
rm -rf .pc $(QUILT_STAMPFN)
.PHONY: patch unpatch
|