This manual is for dpatch, a patch maintenance system for Debian Copyright (C) 2003 Gergely Nagy <firstname.lastname@example.org> Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of...
NAMEdebian/patches/script.dpatch - self applying patch
SYNOPSISdebian/patches/script.dpatch -patch [directory]
debian/patches/script.dpatch -unpatch [directory]
debian/patches/script.dpatch -pkg-custom [directory]
DESCRIPTIONA dpatch is a program that modifies the source tree in a given directory. How it does that is entirely up to the person writing it. It can be a script that calls patch(1) with the appropriate options, a complicated perl script that does some deep magic, or anything else. The only requirement is that it MUST accept the -patch and -unpatch options, followed by the destination (or working) directory, when specified. For the sake of compatibility, the second argument is only present when a working directory was explicitly set with dpatch --workdir.
For some of the dpatch(1) features to work, the script should follow a common style: there should be a line near the top of the file with the following format: "filename -- author <email>". And one or more "# DP: description" lines. These will be used by dpatch cat for example.