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, however the special variable Format
89 will override the field of the same name. This option can be
90 used multiple times to read substitution variables from multiple
91 files (since dpkg 1.15.6).
92
93
94 -Dfield=value
95 Override or add an output control file field.
96
97 -Ufield
98 Remove an output control file field.
99
100 -ccontrolfile
101 Specifies the main source control file to read information from.
102 The default is debian/control.
103
104 -lchangelog-file
105 Specifies the changelog file to read information from. The
106 default is debian/changelog.
107
108 -ffiles-list-file
109 Read the list of files to be uploaded here, rather than using
110 debian/files.
111
112 -Fchangelog-format
113 Specifies the format of the changelog. See
114 dpkg-parsechangelog(1) for information about alternative
115 formats.
116
117 -uupload-files-dir
118 Look for the files to be uploaded in upload-files-dir rather
119 than .. (dpkg-genchanges needs to find these files so that it
120 can include their sizes and checksums in the .changes file).
121
122 -q Usually dpkg-genchanges will produce informative messages on
123 standard error, for example about how many of the package's
124 source files are being uploaded. -q suppresses these messages.
125
126 -O[filename]
127 Print the changes file to standard output (the default) or to
128 filename if specified (since dpkg 1.18.5).
129
130 -?, --help
131 Show the usage message and exit.
132
133 --version
134 Show the version and exit.
135
137 debian/files
138 The list of generated files which are part of the upload being
139 prepared. dpkg-genchanges reads the data here when producing a
140 .changes file.
141
143 deb-substvars(5), deb-src-control(5), deb-src-files(5),
144 deb-changelog(5), deb-changes(5).
145
146
147
1481.18.25 2018-06-26 dpkg-genchanges(1)