diff2patches

diff2patches(1)                                                diff2patches(1)

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 "de-
       bian/" directory scope.  A patch is created  for  each  modified  file.
       Each  patch  is  named according to the path of the modified file, with
       "/" replaced by "___", and an extension of ".patch".

OPTIONS
       filename
           Extract patches from filename which apply outside the "debian/" di-
           rectory.

       --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/
       debian/patches/
              Patches  are  extracted  to  one  of  these  directories.   "de-
              bian/patches/" is preferred, if it exists.   If  DEB_PATCHES  is
              present  in the environment, it will override this behavior (see
              "ENVIRONMENT VARIABLES" section below).

ENVIRONMENT VARIABLES
       DEB_PATCHES
              When defined and points to an existing  directory,  patches  are
              extracted  in  that  directory  and not under "debian/" nor "de-
              bian/patches/".

SEE ALSO
       combinediff(1)

AUTHOR
       Raphael Geissert <atomo64@gmail.com>

Raphael Geissert <atomo64@gmail.com>                           diff2patches(1)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2024 Hurricane Electric. All Rights Reserved.