1diff2patches(1)                                                diff2patches(1)
2
3
4

NAME

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

SYNTAX

9       diff2patches filename
10       diff2patches --help|--version
11

DESCRIPTION

13       Extracts  patches  from  .diff.gz  which  apply  to  files  outside the
14       “debian/” directory scope.  A patch is created for each modified  file.
15       Each  patch  is  named according to the path of the modified file, with
16       “/” replaced by “___”, and an extension of “.patch”.
17

OPTIONS

19       filename
20           Extract patches from filename which  apply  outside  the  “debian/”
21           directory.
22
23       --help
24           Output help information and exit.
25
26       --version
27           Output version information and exit.
28

FILES

30       debian/control
31              Existence of this file is tested before any patch is extracted.
32
33       debian/
34       debian/patches/
35              Patches   are   extracted   to   one   of   these   directories.
36              “debian/patches/” is preferred, if it exists.  If DEB_PATCHES is
37              present  in the environment, it will override this behavior (see
38              “ENVIRONMENT VARIABLES” section below).
39

ENVIRONMENT VARIABLES

41       DEB_PATCHES
42              When defined and points to an existing  directory,  patches  are
43              extracted   in  that  directory  and  not  under  “debian/”  nor
44              “debian/patches/”.
45

SEE ALSO

47       combinediff(1)
48

AUTHOR

50       Raphael Geissert <atomo64@gmail.com>
51
52
53
54Raphael Geissert <atomo64@gmail.com>                           diff2patches(1)
Impressum