dh_dpatch_unpatch1
Unapply patches listed in debian/patched
Usage
dh_dpatch_unpatch [debhelper
options]
Overview
dh_dpatch_unpatch simply calls dpatch deapply-all. All patches listed in debian/patched are then unapplied in the current directory. The command does not fail if the patches have already been unapplied.
Examples
dh_dpatch_unpatch is usually called indirectly in a rules file via the dh command.
%:dh --with dpatch $@
It can also be direcly called in the clean rule.
clean:dh_testdirdh_testroot[ ! -f Makefile ] || $(MAKE) cleandh_dpatch_unpatchdh_clean
Releases
5 releases since Debian 7 (Wheezy); the text changed 3 times.