dh_quilt_unpatch - unapply patches listed in debian/patches/series
dh_quilt_unpatch simply calls quilt pop -a
after having set the
environment variable QUILT_PATCHES
patches listed in debian/patches/series
are then unapplied in the
current directory. The command does not fail if the patches have already been
You can use another directory instead of debian/patches
by setting (and
exporting) the environment variable QUILT_PATCH_DIR
dh_quilt_unpatch is usually called indirectly in a rules file via the dh
dh $@ --with quilt
It can also be direcly called in the clean rule.
[ ! -f Makefile ] || $(MAKE) clean
This tool is useless if you use the source package format 3.0 (quilt)
Consider switching to this source format if you haven't done it yet.
This program is meant to be used together with debhelper.
Raphael Hertzog <firstname.lastname@example.org>