aboutsummaryrefslogtreecommitdiff
path: root/store/debian-dev/setup/quiltrc-dpkg
diff options
context:
space:
mode:
authorYuqian Yang <crupest@outlook.com>2025-06-29 15:07:57 +0800
committerYuqian Yang <crupest@outlook.com>2025-06-29 15:08:47 +0800
commita123d4266935ff9d75a8e32dd29ee965e9eb4d50 (patch)
treeb5bc36630c747f1311b4e4f8f7b6fb489dd59640 /store/debian-dev/setup/quiltrc-dpkg
parent50299600c0134f00c7f8e4fe6b599987596c6dc5 (diff)
downloadcrupest-a123d4266935ff9d75a8e32dd29ee965e9eb4d50.tar.gz
crupest-a123d4266935ff9d75a8e32dd29ee965e9eb4d50.tar.bz2
crupest-a123d4266935ff9d75a8e32dd29ee965e9eb4d50.zip
debian-dev: refactor all.
Diffstat (limited to 'store/debian-dev/setup/quiltrc-dpkg')
-rw-r--r--store/debian-dev/setup/quiltrc-dpkg13
1 files changed, 13 insertions, 0 deletions
diff --git a/store/debian-dev/setup/quiltrc-dpkg b/store/debian-dev/setup/quiltrc-dpkg
new file mode 100644
index 0000000..e8fc3c5
--- /dev/null
+++ b/store/debian-dev/setup/quiltrc-dpkg
@@ -0,0 +1,13 @@
+d=.
+while [ ! -d $d/debian -a `readlink -e $d` != / ];
+ do d=$d/..; done
+if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then
+ # if in Debian packaging tree with unset $QUILT_PATCHES
+ QUILT_PATCHES="debian/patches"
+ QUILT_PATCH_OPTS="--reject-format=unified"
+ QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto"
+ QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
+ QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:"
+ QUILT_COLORS="${QUILT_COLORS}diff_ctx=35:diff_cctx=33"
+ if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi
+fi