1 .\" dpkg manual page - dpkg-genchanges(1)
3 .\" Copyright © 1995-1996 Ian Jackson <ijackson@chiark.greenend.org.uk>
4 .\" Copyright © 2000 Wichert Akkerman <wakkerma@debian.org>
5 .\" Copyright © 2006-2016 Guillem Jover <guillem@debian.org>
6 .\" Copyright © 2008-2010 Raphaël Hertzog <hertzog@debian.org>
8 .\" This is free software; you can redistribute it and/or modify
9 .\" it under the terms of the GNU General Public License as published by
10 .\" the Free Software Foundation; either version 2 of the License, or
11 .\" (at your option) any later version.
13 .\" This is distributed in the hope that it will be useful,
14 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 .\" GNU General Public License for more details.
18 .\" You should have received a copy of the GNU General Public License
19 .\" along with this program. If not, see <https://www.gnu.org/licenses/>.
21 .TH dpkg\-genchanges 1 "%RELEASE_DATE%" "%VERSION%" "dpkg suite"
24 dpkg\-genchanges \- generate Debian .changes files
33 reads information from an unpacked and built Debian source tree and
34 from the files it has generated and generates a Debian upload control
36 .RB ( .changes " file)."
41 Specifies the build \fItype\fP from a comma-separated list of components
44 The allowed values are:
48 Upload the source package.
51 Upload the architecture specific binary packages.
54 Upload the architecture independent binary packages.
57 Upload the architecture specific and independent binary packages.
58 This is an alias for \fBany,all\fP.
62 This is alias for \fBsource,any,all\fP, and the same as the default case
63 when no build option is specified.
67 Equivalent to \fB\-\-build=source,all\fP (since dpkg 1.17.11).
70 Equivalent to \fB\-\-build=source,any\fP (since dpkg 1.17.11).
73 Equivalent to \fB\-\-build=binary\fP or \fB\-\-build=any,all\fP.
76 Equivalent to \fB\-\-build=any\fP.
79 Equivalent to \fB\-\-build=all\fP.
82 Equivalent to \fB\-\-build=source\fP.
84 The \fB\-s\fP\fIx\fP options control whether the original source archive is
85 included in the upload if any source is being generated (i.e.
90 By default, or if specified, the original source will be included only if
91 the upstream version number (the version without epoch and without Debian
92 revision) differs from the upstream version number of the previous
96 Forces the inclusion of the original source.
99 Forces the exclusion of the original source and includes only the diff.
103 Causes changelog information from all versions strictly later than
107 .BI \-C changes-description
108 Read the description of the changes from the file
109 .I changes-description
110 rather than using the information from the source tree's changelog
113 .BI \-m maintainer-address
115 .I maintainer-address
116 as the name and email address of the maintainer for this package,
117 rather than using the information from the source tree's control file.
119 .BI \-e maintainer-address
121 .I maintainer-address
122 as the name and email address of the maintainer for this upload,
123 rather than using the information from the source tree's changelog.
126 Set an output substitution variable.
127 See \fBdeb\-substvars\fP(5) for a discussion of output substitution.
129 .BI \-T substvars-file
130 Read substitution variables in
133 .BR debian/substvars .
134 No variable substitution is done on any of the fields that are output,
135 however the special variable \fIFormat\fR will override the field of the
136 same name. This option can be used multiple times to read substitution
137 variables from multiple files (since dpkg 1.15.6).
140 .BI \-D field = value
141 Override or add an output control file field.
144 Remove an output control file field.
147 Specifies the main source control file to read information from. The
151 .BI \-l changelog-file
152 Specifies the changelog file to read information from. The
154 .BR debian/changelog .
156 .BI \-f files-list-file
157 Read the list of files to be uploaded here, rather than using
160 .BI \-F changelog-format
161 Specifies the format of the changelog. See \fBdpkg\-parsechangelog\fP(1)
162 for information about alternative formats.
164 .BI \-u upload-files-dir
165 Look for the files to be uploaded in
169 .RB ( dpkg\-genchanges
170 needs to find these files so that it can include their sizes and
178 will produce informative messages on standard error, for example about
179 how many of the package's source files are being uploaded.
181 suppresses these messages.
183 .BR \-O [\fIfilename\fP]
184 Print the changes file to standard output (the default) or to \fIfilename\fP
185 if specified (since dpkg 1.18.5).
187 .BR \-? ", " \-\-help
188 Show the usage message and exit.
191 Show the version and exit.
196 The list of generated files which are part of the upload being
199 reads the data here when producing a
205 .BR deb\-substvars (5),
206 .BR deb\-src\-control (5),
207 .BR deb\-src\-files (5),
208 .BR deb\-changelog (5),
209 .BR deb\-changes (5).