chiark / gitweb /
devscripts (2.10.69+squeeze4) stable-security; urgency=high
[devscripts.git] / scripts / diff2patches.1
1 .TH "diff2patches" "1" "" "Raphael Geissert <atomo64@gmail.com>" ""
2 .SH "NAME"
3 .LP 
4 diff2patches \- Extract non\-debian/ patches from .diff.gz files
5 .SH "SYNTAX"
6 .LP 
7 diff2patches \fI<filename>\fP
8 .br 
9 diff2patches \fI\-\-help\fP|\fI\-\-version\fP
10 .SH "DESCRIPTION"
11 .LP 
12 Extracts patches from .diff.gz which apply to files outside the
13 \*(lqdebian/\*(rq directory scope.  A patch is created for each modified file.
14 Each patch is named according to the path of the modified file, with \*(lq/\*(rq
15 replaced by \*(lq___\*(rq, and an extension of \*(lq.patch\*(rq.
16 .SH "OPTIONS"
17 .LP 
18 .TP 4
19 \fB\fIfilename\fP\fR
20 Extract patches from \fB\fIfilename\fP\fR which apply outside the
21 \*(lqdebian/\*(rq directory.
22 .TP 
23 \fB\-\-help\fR 
24 Output help information and exit.
25 .TP 
26 \fB\-\-version\fR
27 Output version information and exit.
28 .SH "FILES"
29 .TP
30 \fIdebian/control\fP 
31 Existence of this file is tested before any patch is extracted.
32 .TP
33 \fIdebian/\fP
34 .TQ
35 \fIdebian/patches/\fP
36 Patches are extracted to one of these directories.  \*(lqdebian/patches/\*(rq is
37 preferred, if it exists.  If \fIDEB_PATCHES\fP is present in the environment,
38 it will override this behavior (see \*(lqENVIRONMENT VARIABLES\*(rq section
39 below).
40 .SH "ENVIRONMENT VARIABLES"
41 .TP
42 \fIDEB_PATCHES\fP
43 When defined and points to an existing directory, patches are extracted in that directory
44 and not under \*(lqdebian/\*(rq nor \*(lqdebian/patches/\*(rq.
45 .SH "SEE ALSO"
46 .LP
47 \fBcombinediff\fR(1)
48 .SH "AUTHOR"
49 .LP 
50 Raphael Geissert <atomo64@gmail.com>