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/>.
25 dpkg-genchanges - generate Debian .changes files
35 reads information from an unpacked and built Debian source tree and
36 from the files it has generated and generates a Debian upload control
44 =item B<--build=>I<type>
46 Specifies the build I<type> from a comma-separated list of components
49 The allowed values are:
55 Upload the source package.
59 Upload the architecture specific binary packages.
63 Upload the architecture independent binary packages.
67 Upload the architecture specific and independent binary packages.
68 This is an alias for B<any,all>.
73 This is alias for B<source,any,all>, and the same as the default case
74 when no build option is specified.
80 Equivalent to B<--build=source,all> (since dpkg 1.17.11).
84 Equivalent to B<--build=source,any> (since dpkg 1.17.11).
88 Equivalent to B<--build=binary> or B<--build=any,all>.
92 Equivalent to B<--build=any>.
96 Equivalent to B<--build=all>.
100 Equivalent to B<--build=source>.
104 The B<-s>I<x> options control whether the original source archive is
105 included in the upload if any source is being generated (i.e.
113 By default, or if specified, the original source will be included only if
114 the upstream version number (the version without epoch and without Debian
115 revision) differs from the upstream version number of the previous
120 Forces the inclusion of the original source.
124 Forces the exclusion of the original source and includes only the diff.
126 =item B<-v>I<version>
128 Causes changelog information from all versions strictly later than
132 =item B<-C>I<changes-description>
134 Read the description of the changes from the file
135 I<changes-description>
136 rather than using the information from the source tree's changelog
139 =item B<-m>I<maintainer-address>
142 I<maintainer-address>
143 as the name and email address of the maintainer for this package,
144 rather than using the information from the source tree's control file.
146 =item B<-e>I<maintainer-address>
149 I<maintainer-address>
150 as the name and email address of the maintainer for this upload,
151 rather than using the information from the source tree's changelog.
153 =item B<-V>I<name>B<=>I<value>
155 Set an output substitution variable.
156 See L<deb-substvars(5)> for a discussion of output substitution.
158 =item B<-T>I<substvars-file>
160 Read substitution variables in
164 No variable substitution is done on any of the fields that are output,
165 except for the contents extracted from each binary package B<Description>
166 field (since dpkg 1.19.0), however the special variable I<Format> will
167 override the field of the same name.
168 This option can be used multiple times to read substitution
169 variables from multiple files (since dpkg 1.15.6).
171 =item B<-D>I<field>B<=>I<value>
173 Override or add an output control file field.
177 Remove an output control file field.
179 =item B<-c>I<controlfile>
181 Specifies the main source control file to read information from.
186 =item B<-l>I<changelog-file>
188 Specifies the changelog file to read information from.
193 =item B<-f>I<files-list-file>
195 Read the list of files to be uploaded here, rather than using
198 =item B<-F>I<changelog-format>
200 Specifies the format of the changelog.
201 See L<dpkg-parsechangelog(1)>
202 for information about alternative formats.
204 =item B<-u>I<upload-files-dir>
206 Look for the files to be uploaded in
211 needs to find these files so that it can include their sizes and
220 will produce informative messages on standard error, for example about
221 how many of the package's source files are being uploaded.
223 suppresses these messages.
225 =item B<-O>[I<filename>]
227 Print the changes file to standard output (the default) or to I<filename>
228 if specified (since dpkg 1.18.5).
230 =item B<-?>, B<--help>
232 Show the usage message and exit.
236 Show the version and exit.
246 Sets the color mode (since dpkg 1.18.5).
247 The currently accepted values are: B<auto> (default), B<always> and
252 If set, it will be used to decide whether to activate Native Language Support,
253 also known as internationalization (or i18n) support (since dpkg 1.19.0).
254 The accepted values are: B<0> and B<1> (default).
262 =item B<debian/files>
264 The list of generated files which are part of the upload being
267 reads the data here when producing a
276 L<deb-src-control(5)>,