DOKK / manpages / debian 10 / dpatch / dh_dpatch_patch.1.en
DH_DPATCH_PATCH(1) Debhelper DH_DPATCH_PATCH(1)

dh_dpatch_patch - apply patches listed in debian/patches/00list

dh_dpatch_patch [debhelper options]

dh_dpatch_patch simply calls dpatch apply-all . All patches listed in debian/patches/00list are then applied in the current directory. The command does not fail if the patches have already been applied.

dh_dpatch_patch is usually called indirectly in a rules file via the dh command.

        %:
                dh --with dpatch $@

It can also be direcly called at the start of the build (or configure) rule.

        build:
                dh_dpatch_patch
                ./configure
                $(MAKE)

debhelper(7), dh(1).

This program is meant to be used together with debhelper.

Hideki Yamane <henrich@debian.or.jp>, stolen from dh_dpatch_quilt written by Raphael Hertzog <hertzog@debian.org>

2018-02-04 perl v5.26.1