dpkg-genchanges(1)               dpkg suite               dpkg-genchanges(1)

NAME         top

       dpkg-genchanges - generate Debian .changes files

SYNOPSIS         top

       dpkg-genchanges [option...]

DESCRIPTION         top

       dpkg-genchanges reads information from an unpacked and built Debian
       source tree and from the files it has generated and generates a
       Debian upload control file (.changes file).

OPTIONS         top

              Specifies the build type from a comma-separated list of
              components (since dpkg 1.18.5).

              The allowed values are:

              source Upload the source package.

              any    Upload the architecture specific binary packages.

              all    Upload the architecture independent binary packages.

              binary Upload the architecture specific and independent binary
                     packages.  This is an alias for any,all.

              full   Upload everything.  This is alias for source,any,all,
                     and the same as the default case when no build option
                     is specified.

       -g     Equivalent to --build=source,all (since dpkg 1.17.11).

       -G     Equivalent to --build=source,any (since dpkg 1.17.11).

       -b     Equivalent to --build=binary or --build=any,all.

       -B     Equivalent to --build=any.

       -A     Equivalent to --build=all.

       -S     Equivalent to --build=source.

       The -sx options control whether the original source archive is
       included in the upload if any source is being generated (i.e.  -b or
       -B haven't been used).

       -si    By default, or if specified, the original source will be
              included only if the upstream version number (the version
              without epoch and without Debian revision) differs from the
              upstream version number of the previous changelog entry.

       -sa    Forces the inclusion of the original source.

       -sd    Forces the exclusion of the original source and includes only
              the diff.

              Causes changelog information from all versions strictly later
              than version to be used.

              Read the description of the changes from the file changes-
              description rather than using the information from the source
              tree's changelog file.

              Use maintainer-address as the name and email address of the
              maintainer for this package, rather than using the information
              from the source tree's control file.

              Use maintainer-address as the name and email address of the
              maintainer for this upload, rather than using the information
              from the source tree's changelog.

              Set an output substitution variable.  See deb-substvars(5) for
              a discussion of output substitution.

              Read substitution variables in substvars-file; the default is
              debian/substvars.  No variable substitution is done on any of
              the fields that are output, except for the contents extracted
              from each binary package Description field (since dpkg
              1.19.0), however the special variable Format will override the
              field of the same name.  This option can be used multiple
              times to read substitution variables from multiple files
              (since dpkg 1.15.6).

              Override or add an output control file field.

              Remove an output control file field.

              Specifies the main source control file to read information
              from. The default is debian/control.

              Specifies the changelog file to read information from. The
              default is debian/changelog.

              Read the list of files to be uploaded here, rather than using

              Specifies the format of the changelog. See
              dpkg-parsechangelog(1) for information about alternative

              Look for the files to be uploaded in upload-files-dir rather
              than ..  (dpkg-genchanges needs to find these files so that it
              can include their sizes and checksums in the .changes file).

       -q     Usually dpkg-genchanges will produce informative messages on
              standard error, for example about how many of the package's
              source files are being uploaded.  -q suppresses these

              Print the changes file to standard output (the default) or to
              filename if specified (since dpkg 1.18.5).

       -?, --help
              Show the usage message and exit.

              Show the version and exit.

ENVIRONMENT         top

              Sets the color mode (since dpkg 1.18.5).  The currently
              accepted values are: auto (default), always and never.

              If set, it will be used to decide whether to activate Native
              Language Support, also known as internationalization (or i18n)
              support (since dpkg 1.19.0).  The accepted values are: 0 and 1

FILES         top

              The list of generated files which are part of the upload being
              prepared.  dpkg-genchanges reads the data here when producing
              a .changes file.

SEE ALSO         top

       deb-substvars(5), deb-src-control(5), deb-src-files(5),
       deb-changelog(5), deb-changes(5).

COLOPHON         top

       This page is part of the dpkg (Debian Package Manager) project.
       Information about the project can be found at 
       ⟨⟩.  If you have a bug report for
       this manual page, see
       ⟨⟩.  This page
       was obtained from the project's upstream Git repository
       ⟨⟩ on 2018-10-29.  (At
       that time, the date of the most recent commit that was found in the
       repository was 2018-10-11.)  If you discover any rendering problems
       in this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not part
       of the original manual page), send a mail to

1.19.2-17-g96f3                  2018-10-08               dpkg-genchanges(1)

Pages that refer to this page: dpkg-buildpackage(1)deb-src-files(5)deb-substvars(5)