1dpkg-genchanges(1) dpkg suite dpkg-genchanges(1)
2
3
4
6 dpkg-genchanges - generate Debian .changes files
7
9 dpkg-genchanges [option...]
10
12 dpkg-genchanges reads information from an unpacked and built Debian
13 source tree and from the files it has generated and generates a Debian
14 upload control file (.changes file).
15
17 --build=type
18 Specifies the build type from a comma-separated list of
19 components (since dpkg 1.18.5).
20
21 The allowed values are:
22
23 source Upload the source package.
24
25 any Upload the architecture specific binary packages.
26
27 all Upload the architecture independent binary packages.
28
29 binary Upload the architecture specific and independent binary
30 packages. This is an alias for any,all.
31
32 full Upload everything. This is alias for source,any,all, and
33 the same as the default case when no build option is
34 specified.
35
36 -g Equivalent to --build=source,all (since dpkg 1.17.11).
37
38 -G Equivalent to --build=source,any (since dpkg 1.17.11).
39
40 -b Equivalent to --build=binary or --build=any,all.
41
42 -B Equivalent to --build=any.
43
44 -A Equivalent to --build=all.
45
46 -S Equivalent to --build=source.
47
48 The -sx options control whether the original source archive is included
49 in the upload if any source is being generated (i.e. -b or -B haven't
50 been used).
51
52 -si By default, or if specified, the original source will be
53 included only if the upstream version number (the version
54 without epoch and without Debian revision) differs from the
55 upstream version number of the previous changelog entry.
56
57 -sa Forces the inclusion of the original source.
58
59 -sd Forces the exclusion of the original source and includes only
60 the diff.
61
62 -vversion
63 Causes changelog information from all versions strictly later
64 than version to be used.
65
66 -Cchanges-description
67 Read the description of the changes from the file changes-
68 description rather than using the information from the source
69 tree's changelog file.
70
71 -mmaintainer-address
72 Use maintainer-address as the name and email address of the
73 maintainer for this package, rather than using the information
74 from the source tree's control file.
75
76 -emaintainer-address
77 Use maintainer-address as the name and email address of the
78 maintainer for this upload, rather than using the information
79 from the source tree's changelog.
80
81 -Vname=value
82 Set an output substitution variable. See deb-substvars(5) for a
83 discussion of output substitution.
84
85 -Tsubstvars-file
86 Read substitution variables in substvars-file; the default is
87 debian/substvars. No variable substitution is done on any of
88 the fields that are output, except for the contents extracted
89 from each binary package Description field (since dpkg 1.19.0),
90 however the special variable Format will override the field of
91 the same name. This option can be used multiple times to read
92 substitution variables from multiple files (since dpkg 1.15.6).
93
94
95 -Dfield=value
96 Override or add an output control file field.
97
98 -Ufield
99 Remove an output control file field.
100
101 -ccontrolfile
102 Specifies the main source control file to read information from.
103 The default is debian/control.
104
105 -lchangelog-file
106 Specifies the changelog file to read information from. The
107 default is debian/changelog.
108
109 -ffiles-list-file
110 Read the list of files to be uploaded here, rather than using
111 debian/files.
112
113 -Fchangelog-format
114 Specifies the format of the changelog. See
115 dpkg-parsechangelog(1) for information about alternative
116 formats.
117
118 -uupload-files-dir
119 Look for the files to be uploaded in upload-files-dir rather
120 than .. (dpkg-genchanges needs to find these files so that it
121 can include their sizes and checksums in the .changes file).
122
123 -q Usually dpkg-genchanges will produce informative messages on
124 standard error, for example about how many of the package's
125 source files are being uploaded. -q suppresses these messages.
126
127 -O[filename]
128 Print the changes file to standard output (the default) or to
129 filename if specified (since dpkg 1.18.5).
130
131 -?, --help
132 Show the usage message and exit.
133
134 --version
135 Show the version and exit.
136
138 DPKG_COLORS
139 Sets the color mode (since dpkg 1.18.5). The currently accepted
140 values are: auto (default), always and never.
141
142 DPKG_NLS
143 If set, it will be used to decide whether to activate Native
144 Language Support, also known as internationalization (or i18n)
145 support (since dpkg 1.19.0). The accepted values are: 0 and 1
146 (default).
147
149 debian/files
150 The list of generated files which are part of the upload being
151 prepared. dpkg-genchanges reads the data here when producing a
152 .changes file.
153
155 deb-substvars(5), deb-src-control(5), deb-src-files(5),
156 deb-changelog(5), deb-changes(5).
157
158
159
1601.19.7 2019-06-03 dpkg-genchanges(1)