.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "dpkg-genchanges 1" .TH dpkg-genchanges 1 2024-03-10 1.22.6 "dpkg suite" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME dpkg\-genchanges \- generate Debian .changes files .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBdpkg-genchanges\fR [\fIoption\fR...] .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBdpkg-genchanges\fR reads information from an unpacked and built Debian source tree and from the files it has generated and generates a Debian upload control file (\fB.changes\fR file). .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-build=\fR\fItype\fR 4 .IX Item "--build=type" Specifies the build \fItype\fR from a comma-separated list of components (since dpkg 1.18.5). .Sp The allowed values are: .RS 4 .IP \fBsource\fR 4 .IX Item "source" Upload the source package. .IP \fBany\fR 4 .IX Item "any" Upload the architecture specific binary packages. .IP \fBall\fR 4 .IX Item "all" Upload the architecture independent binary packages. .IP \fBbinary\fR 4 .IX Item "binary" Upload the architecture specific and independent binary packages. This is an alias for \fBany,all\fR. .IP \fBfull\fR 4 .IX Item "full" Upload everything. This is alias for \fBsource,any,all\fR, and the same as the default case when no build option is specified. .RE .RS 4 .RE .IP \fB\-g\fR 4 .IX Item "-g" Equivalent to \fB\-\-build=source,all\fR (since dpkg 1.17.11). .IP \fB\-G\fR 4 .IX Item "-G" Equivalent to \fB\-\-build=source,any\fR (since dpkg 1.17.11). .IP \fB\-b\fR 4 .IX Item "-b" Equivalent to \fB\-\-build=binary\fR or \fB\-\-build=any,all\fR. .IP \fB\-B\fR 4 .IX Item "-B" Equivalent to \fB\-\-build=any\fR. .IP \fB\-A\fR 4 .IX Item "-A" Equivalent to \fB\-\-build=all\fR. .IP \fB\-S\fR 4 .IX Item "-S" Equivalent to \fB\-\-build=source\fR. .PP The \fB\-s\fR\fIx\fR options control whether the original source archive is included in the upload if any source is being generated (i.e. \&\fB\-b\fR or \fB\-B\fR haven't been used). .IP \fB\-si\fR 4 .IX Item "-si" By default, or if specified, the original source will be included only if the upstream version number (the version without epoch and without Debian revision) differs from the upstream version number of the previous changelog entry. .IP \fB\-sa\fR 4 .IX Item "-sa" Forces the inclusion of the original source. .IP \fB\-sd\fR 4 .IX Item "-sd" Forces the exclusion of the original source and includes only the diff. .IP \fB\-v\fR\fIversion\fR 4 .IX Item "-vversion" Causes changelog information from all versions strictly later than \&\fIversion\fR to be used. .IP \fB\-C\fR\fIchanges-description\fR 4 .IX Item "-Cchanges-description" Read the description of the changes from the file \&\fIchanges-description\fR rather than using the information from the source tree's changelog file. .IP \fB\-m\fR\fImaintainer-address\fR 4 .IX Item "-mmaintainer-address" Use \&\fImaintainer-address\fR as the name and email address of the maintainer for this package, rather than using the information from the source tree's control file. .IP \fB\-e\fR\fImaintainer-address\fR 4 .IX Item "-emaintainer-address" Use \&\fImaintainer-address\fR as the name and email address of the maintainer for this upload, rather than using the information from the source tree's changelog. .IP \fB\-V\fR\fIname\fR\fB=\fR\fIvalue\fR 4 .IX Item "-Vname=value" Set an output substitution variable. See \fBdeb\-substvars\fR\|(5) for a discussion of output substitution. .IP \fB\-T\fR\fIsubstvars-file\fR 4 .IX Item "-Tsubstvars-file" Read substitution variables in \&\fIsubstvars-file\fR; the default is \&\fBdebian/substvars\fR. No variable substitution is done on any of the fields that are output, except for the contents extracted from each binary package \fBDescription\fR field (since dpkg 1.19.0), however the special variable \fIFormat\fR will override the field of the same name. This option can be used multiple times to read substitution variables from multiple files (since dpkg 1.15.6). .IP \fB\-D\fR\fIfield\fR\fB=\fR\fIvalue\fR 4 .IX Item "-Dfield=value" Override or add an output control file field. .IP \fB\-U\fR\fIfield\fR 4 .IX Item "-Ufield" Remove an output control file field. .IP \fB\-c\fR\fIcontrolfile\fR 4 .IX Item "-ccontrolfile" Specifies the main source control file to read information from. The default is \&\fBdebian/control\fR. .IP \fB\-l\fR\fIchangelog-file\fR 4 .IX Item "-lchangelog-file" Specifies the changelog file to read information from. The default is \&\fBdebian/changelog\fR. .IP \fB\-f\fR\fIfiles-list-file\fR 4 .IX Item "-ffiles-list-file" Read the list of files to be uploaded here, rather than using \&\fBdebian/files\fR. .IP \fB\-F\fR\fIchangelog-format\fR 4 .IX Item "-Fchangelog-format" Specifies the format of the changelog. See \fBdpkg\-parsechangelog\fR\|(1) for information about alternative formats. .IP \fB\-u\fR\fIupload-files-dir\fR 4 .IX Item "-uupload-files-dir" Look for the files to be uploaded in \&\fIupload-files-dir\fR rather than \&\fB..\fR (\fBdpkg-genchanges\fR needs to find these files so that it can include their sizes and checksums in the \&\fB.changes\fR file). .IP \fB\-q\fR 4 .IX Item "-q" Usually \&\fBdpkg-genchanges\fR will produce informative messages on standard error, for example about how many of the package's source files are being uploaded. \&\fB\-q\fR suppresses these messages. .IP \fB\-O\fR[\fIfilename\fR] 4 .IX Item "-O[filename]" Print the changes file to standard output (the default) or to \fIfilename\fR if specified (since dpkg 1.18.5). .IP "\fB\-?\fR, \fB\-\-help\fR" 4 .IX Item "-?, --help" Show the usage message and exit. .IP \fB\-\-version\fR 4 .IX Item "--version" Show the version and exit. .SH ENVIRONMENT .IX Header "ENVIRONMENT" .IP \fBDPKG_COLORS\fR 4 .IX Item "DPKG_COLORS" Sets the color mode (since dpkg 1.18.5). The currently accepted values are: \fBauto\fR (default), \fBalways\fR and \&\fBnever\fR. .IP \fBDPKG_NLS\fR 4 .IX Item "DPKG_NLS" If set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support (since dpkg 1.19.0). The accepted values are: \fB0\fR and \fB1\fR (default). .SH FILES .IX Header "FILES" .IP \fBdebian/files\fR 4 .IX Item "debian/files" The list of generated files which are part of the upload being prepared. \&\fBdpkg-genchanges\fR reads the data here when producing a \&\fB.changes\fR file. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdeb\-substvars\fR\|(5), \&\fBdeb\-src\-control\fR\|(5), \&\fBdeb\-src\-files\fR\|(5), \&\fBdeb\-changelog\fR\|(5), \&\fBdeb\-changes\fR\|(5).