## NAME

dpkg-genchanges - generate Debian .changes files

## SYNOPSIS

dpkg-genchanges

## DESCRIPTION

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

## OPTIONS

-g Specifies that only source and architecture independent packages should be uploaded (no architecture specific packages will be included).

-G Specifies that only source and architecture specific packages should be uploaded (no architecture independent packages will be included).

-b, -B, -ASpecifies that a binary-only build is taking place (no source files are to be included). There's no distinction between -b, -B and -A, the produced .changes file will include whatever files were created by the binary-* target(s) of the package being built.

-S Specifies that only the source should be uploaded (no binary packages will be included).

The -s x options control whether the original source archive is included in the upload if any source is being generated (i.e. -b or -Bhaven'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.

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

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

-m maintainer-address 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.

-e maintainer-address 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.

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

-T substvars-file Read substitution variables in substvars-file ; the default is debian/substvars .No variable substitution is done on any of the fields that are output, 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.

-D field = value Override or add an output control file field.

-U field Remove an output control file field.

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

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

-f files-list-file Read the list of files to be uploaded here, rather than using debian/files .

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

-u upload-files-dir Look for the files to be uploaded in upload-files-dir rather than ..

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 messages.

-?, --helpShow the usage message and exit.

--versionShow the version and exit.

## FILES

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