po: Update German man pages translation
[dpkg.git] / man / dpkg-genchanges.pod
blob2ca50fa0c0f4a8f445cbe16c197770fdced4f53d
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 =encoding utf8
23 =head1 NAME
25 dpkg-genchanges - generate Debian .changes files
27 =head1 SYNOPSIS
29 B<dpkg-genchanges>
30 [I<option>...]
32 =head1 DESCRIPTION
34 B<dpkg-genchanges>
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
37 file
38 (B<.changes> file).
40 =head1 OPTIONS
42 =over
44 =item B<--build=>I<type>
46 Specifies the build I<type> from a comma-separated list of components
47 (since dpkg 1.18.5).
49 The allowed values are:
51 =over
53 =item B<source>
55 Upload the source package.
57 =item B<any>
59 Upload the architecture specific binary packages.
61 =item B<all>
63 Upload the architecture independent binary packages.
65 =item B<binary>
67 Upload the architecture specific and independent binary packages.
68 This is an alias for B<any,all>.
70 =item B<full>
72 Upload everything.
73 This is alias for B<source,any,all>, and the same as the default case
74 when no build option is specified.
76 =back
78 =item B<-g>
80 Equivalent to B<--build=source,all> (since dpkg 1.17.11).
82 =item B<-G>
84 Equivalent to B<--build=source,any> (since dpkg 1.17.11).
86 =item B<-b>
88 Equivalent to B<--build=binary> or B<--build=any,all>.
90 =item B<-B>
92 Equivalent to B<--build=any>.
94 =item B<-A>
96 Equivalent to B<--build=all>.
98 =item B<-S>
100 Equivalent to B<--build=source>.
102 =back
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.
106 B<-b> or B<-B>
107 haven't been used).
109 =over
111 =item B<-si>
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
116 changelog entry.
118 =item B<-sa>
120 Forces the inclusion of the original source.
122 =item B<-sd>
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
129 I<version>
130 to be used.
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
137 file.
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
161 I<substvars-file>;
162 the default is
163 B<debian/substvars>.
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.
175 =item B<-U>I<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.
183 default is
184 B<debian/control>.
186 =item B<-l>I<changelog-file>
188 Specifies the changelog file to read information from.
190 default is
191 B<debian/changelog>.
193 =item B<-f>I<files-list-file>
195 Read the list of files to be uploaded here, rather than using
196 B<debian/files>.
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
207 I<upload-files-dir>
208 rather than
209 B<..>
210 (B<dpkg-genchanges>
211 needs to find these files so that it can include their sizes and
212 checksums in the
213 B<.changes>
214 file).
216 =item B<-q>
218 Usually
219 B<dpkg-genchanges>
220 will produce informative messages on standard error, for example about
221 how many of the package's source files are being uploaded.
222 B<-q>
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.
234 =item B<--version>
236 Show the version and exit.
238 =back
240 =head1 ENVIRONMENT
242 =over
244 =item B<DEB_HOST_ARCH>
246 Sets the host architecture.
248 =item B<DPKG_COLORS>
250 Sets the color mode (since dpkg 1.18.5).
251 The currently accepted values are: B<auto> (default), B<always> and
252 B<never>.
254 =item B<DPKG_NLS>
256 If set, it will be used to decide whether to activate Native Language Support,
257 also known as internationalization (or i18n) support (since dpkg 1.19.0).
258 The accepted values are: B<0> and B<1> (default).
260 =back
262 =head1 FILES
264 =over
266 =item B<debian/files>
268 The list of generated files which are part of the upload being
269 prepared.
270 B<dpkg-genchanges>
271 reads the data here when producing a
272 B<.changes>
273 file.
275 =back
277 =head1 SEE ALSO
279 L<deb-substvars(5)>,
280 L<deb-src-control(5)>,
281 L<deb-src-files(5)>,
282 L<deb-changelog(5)>,
283 L<deb-changes(5)>.