"diff2patches" "1" "" "Raphael Geissert <atomo64@gmail.com>" ""
"NAME"

diff2patches - Extract non-debian/ patches from .diff.gz files

"SYNTAX"

diff2patches filename

diff2patches --help|--version

"DESCRIPTION"

Extracts patches from .diff.gz which apply to files outside the \*(lqdebian/\*(rq directory scope. A patch is created for each modified file. Each patch is named according to the path of the modified file, with \*(lq/\*(rq replaced by \*(lq___\*(rq, and an extension of \*(lq.patch\*(rq.

"OPTIONS"

4 filename Extract patches from filename which apply outside the \*(lqdebian/\*(rq directory.

--help Output help information and exit.

--version Output version information and exit.

"FILES"

debian/control Existence of this file is tested before any patch is extracted.

debian/ .TQ debian/patches/ Patches are extracted to one of these directories. \*(lqdebian/patches/\*(rq is preferred, if it exists. If DEB_PATCHES is present in the environment, it will override this behavior (see \*(lqENVIRONMENT VARIABLES\*(rq section below).

"ENVIRONMENT VARIABLES"

DEB_PATCHES When defined and points to an existing directory, patches are extracted in that directory and not under \*(lqdebian/\*(rq nor \*(lqdebian/patches/\*(rq.

"SEE ALSO"

combinediff(1)

"AUTHOR"

Raphael Geissert <atomo64@gmail.com>