DH_QUILT_PATCH(1)
π DH_QUILT_PATCH π
okay bestie, welcome to the manual page for dh_quilt_patch, which lives in the Debhelper family and is here to apply the patches listed in debian/patches/series. yes literally that's the whole job. she's simple, she's reliable, she's iconic. π
β¨ SYNOPSIS β¨
dh_quilt_patch [debhelper options]
πΈ DESCRIPTION πΈ
so here's the tea, bestie: dh_quilt_patch is honestly so straightforward it's giving main character energy with zero drama. it sets the environment variable QUILT_PATCHES to debian/patches, and then it just calls
quilt push -a
and that's it. every single patch listed in debian/patches/series gets applied in the current directory. slay. π
and here's the nice part β if the patches have already been applied, the command does not fail. no cap. she's not gonna yell at you for being prepared. π«Ά
lowkey important: if the filedebian/patches/seriesdoesn't exist, or it exists but is empty,dh_quilt_patchjust returns without doing anything at all. no patches, no problem, no output. it's giving "i'm not mad i'm just not participating." π
oh and if you wanna be different (valid), you can use a whole other directory instead of debian/patches by setting β and exporting β the environment variable QUILT_PATCH_DIR. set it, export it, live your truth. β¨
π¦ EXAMPLES π¦
so the usual way people run this is indirectly, from inside a rules file, via the dh command. like so:
%:
dh $@ --with quilt
but she can also be called directly at the start of the build rule (or the configure rule, whichever vibe you're on):
build:
dh_quilt_patch
./configure
$(MAKE)
look at her go. π
π NOTES π
π¨ real talk: this tool is useless if you're using the source package format 3.0 (quilt). like, completely redundant. not me warning you about doing double work bestie. π
if you haven't already made the switch to that source format... consider switching to it. fr fr. it'll change your life. β
π SEE ALSO π
this program is meant to be used together with debhelper. they're a package deal, iykyk. π
π AUTHOR π
Raphael Hertzog <hertzog@debian.org> β wrote her, raised her, absolute legend. π«Ά
and that's the whole page, bestie!! this manual page was rendered by perl v5.40.1 and dated 2026-01-23 β so yeah, she's fresh, she's current, she's the moment. go patch something cute. ππ§π
π¦ where this page comes from
- ubuntu resolute: quilt 0.69-0.1 Β· GPL-2.0-or-later
- ubuntu stonking: quilt 0.69-0.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms