Linux "dpkg-genchanges" Command Line Options and Examples
generate Debian .changes files

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


Usage:

dpkg-genchanges [option...]




Command Line Options:

--build
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 isspecified.
dpkg-genchanges --build ...
-g
Equivalent to --build=source,all (since dpkg 1.17.11).
dpkg-genchanges -g ...
-G
Equivalent to --build=source,any (since dpkg 1.17.11).
dpkg-genchanges -G ...
-b
Equivalent to --build=binary or --build=any,all.
dpkg-genchanges -b ...
-B
Equivalent to --build=any.
dpkg-genchanges -B ...
-A
Equivalent to --build=all.
dpkg-genchanges -A ...
-S
The -sx options control whether the original source archive is included in the upload if any source is being generated (i.e. -b or
dpkg-genchanges -S ...
-sa
Forces the inclusion of the original source.
dpkg-genchanges -sa ...
-sd
Forces the exclusion of the original source and includes only the diff.
dpkg-genchanges -sd ...
-vversion
Causes changelog information from all versions strictly later than version to be used.
dpkg-genchanges -vversion ...
-Cchanges-description
Read the description of the changes from the file changes-description rather than using the information from the source tree'schangelog file.
dpkg-genchanges -Cchanges-description ...
-mmaintainer-address
Use maintainer-address as the name and email address of the maintainer for this package, rather than using the informationfrom the source tree's control file.
dpkg-genchanges -mmaintainer-address ...
-emaintainer-address
Use maintainer-address as the name and email address of the maintainer for this upload, rather than using the information fromthe source tree's changelog.
dpkg-genchanges -emaintainer-address ...
-Vname
Set an output substitution variable. See deb-substvars(5) for a discussion of output substitution.
dpkg-genchanges -Vname ...
-Tsubstvars-file
Read substitution variables in substvars-file; the default is debian/substvars. No variable substitution is done on any ofthe 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 readsubstitution variables from multiple files (since dpkg 1.15.6).
dpkg-genchanges -Tsubstvars-file ...
-Dfield
Override or add an output control file field.
dpkg-genchanges -Dfield ...
-Ufield
Remove an output control file field.
dpkg-genchanges -Ufield ...
-ccontrolfile
Specifies the main source control file to read information from. The default is debian/control.
dpkg-genchanges -ccontrolfile ...
-lchangelog-file
Specifies the changelog file to read information from. The default is debian/changelog.
dpkg-genchanges -lchangelog-file ...
-ffiles-list-file
Read the list of files to be uploaded here, rather than using debian/files.
dpkg-genchanges -ffiles-list-file ...
-Fchangelog-format
Specifies the format of the changelog. See dpkg-parsechangelog(1) for information about alternative formats.
dpkg-genchanges -Fchangelog-format ...
-uupload-files-dir
Look for the files to be uploaded in upload-files-dir rather than .. (dpkg-genchanges needs to find these files so that itcan include their sizes and checksums in the .changes file).
dpkg-genchanges -uupload-files-dir ...
-O[filename]
Print the changes file to standard output (the default) or to filename if specified (since dpkg 1.18.5).
dpkg-genchanges -O[filename] ...
-?
Show the usage message and exit.
dpkg-genchanges -? ...
--version
Show the version and exit.FILESdebian/filesThe list of generated files which are part of the upload being prepared. dpkg-genchanges reads the data here when producing a.changes file.
dpkg-genchanges --version ...