dpkg-genchanges.1 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. .\" dpkg manual page - dpkg-genchanges(1)
  2. .\"
  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>
  7. .\"
  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.
  12. .\"
  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.
  17. .\"
  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/>.
  20. .
  21. .TH dpkg\-genchanges 1 "2014-09-24" "Debian Project" "dpkg utilities"
  22. .SH NAME
  23. dpkg\-genchanges \- generate Debian .changes files
  24. .
  25. .SH SYNOPSIS
  26. .B dpkg\-genchanges
  27. .RI [ option ...]
  28. .br
  29. .
  30. .SH DESCRIPTION
  31. .B dpkg\-genchanges
  32. reads information from an unpacked and built Debian source tree and
  33. from the files it has generated and generates a Debian upload control
  34. file
  35. .RB ( .changes " file)."
  36. .
  37. .SH OPTIONS
  38. .TP
  39. .BI \-\-build= type
  40. Specifies the build \fItype\fP from a comma-separated list of components
  41. (since dpkg 1.18.5).
  42. The allowed values are:
  43. .RS
  44. .TP
  45. .B source
  46. Upload the source package.
  47. .TP
  48. .B any
  49. Upload the architecture specific binary packages.
  50. .TP
  51. .B all
  52. Upload the architecture independent binary packages.
  53. .TP
  54. .B binary
  55. Upload the architecture specific and independent binary packages.
  56. This is an alias for \fBany,all\fP.
  57. .TP
  58. .B full
  59. Upload everything.
  60. This is alias for \fBsource,any,all\fP, and the same as the default case
  61. when no build option is specified.
  62. .RE
  63. .TP
  64. .B \-g
  65. Equivalent to \fB\-\-build=source,all\fP (since dpkg 1.17.11).
  66. .TP
  67. .B \-G
  68. Equivalent to \fB\-\-build=source,any\fP (since dpkg 1.17.11).
  69. .TP
  70. .B \-b
  71. Equivalent to \fB\-\-build=binary\fP or \fB\-\-build=any,all\fP.
  72. .TP
  73. .B \-B
  74. Equivalent to \fB\-\-build=any\fP.
  75. .TP
  76. .B \-A
  77. Equivalent to \fB\-\-build=all\fP.
  78. .TP
  79. .B \-S
  80. Equivalent to \fB\-\-build=source\fP.
  81. .PP
  82. The \fB\-s\fP\fIx\fP options control whether the original source archive is
  83. included in the upload if any source is being generated (i.e.
  84. .BR \-b " or " \-B
  85. haven't been used).
  86. .TP
  87. .B \-si
  88. By default, or if specified, the original source will be included only if
  89. the upstream version number (the version without epoch and without Debian
  90. revision) differs from the upstream version number of the previous
  91. changelog entry.
  92. .TP
  93. .B \-sa
  94. Forces the inclusion of the original source.
  95. .TP
  96. .B \-sd
  97. Forces the exclusion of the original source and includes only the diff.
  98. .fi
  99. .TP
  100. .BI \-v version
  101. Causes changelog information from all versions strictly later than
  102. .I version
  103. to be used.
  104. .TP
  105. .BI \-C changes-description
  106. Read the description of the changes from the file
  107. .I changes-description
  108. rather than using the information from the source tree's changelog
  109. file.
  110. .TP
  111. .BI \-m maintainer-address
  112. Use
  113. .I maintainer-address
  114. as the name and email address of the maintainer for this package,
  115. rather than using the information from the source tree's control file.
  116. .TP
  117. .BI \-e maintainer-address
  118. Use
  119. .I maintainer-address
  120. as the name and email address of the maintainer for this upload,
  121. rather than using the information from the source tree's changelog.
  122. .TP
  123. .BI \-V name = value
  124. Set an output substitution variable.
  125. See \fBdeb\-substvars\fP(5) for a discussion of output substitution.
  126. .TP
  127. .BI \-T substvars-file
  128. Read substitution variables in
  129. .IR substvars-file ;
  130. the default is
  131. .BR debian/substvars .
  132. No variable substitution is done on any of the fields that are output,
  133. however the special variable \fIFormat\fR will override the field of the
  134. same name. This option can be used multiple times to read substitution
  135. variables from multiple files (since dpkg 1.15.6).
  136. .TP
  137. .BI \-D field = value
  138. Override or add an output control file field.
  139. .TP
  140. .BI \-U field
  141. Remove an output control file field.
  142. .TP
  143. .BI \-c controlfile
  144. Specifies the main source control file to read information from. The
  145. default is
  146. .BR debian/control .
  147. .TP
  148. .BI \-l changelog-file
  149. Specifies the changelog file to read information from. The
  150. default is
  151. .BR debian/changelog .
  152. .TP
  153. .BI \-f files-list-file
  154. Read the list of files to be uploaded here, rather than using
  155. .BR debian/files .
  156. .TP
  157. .BI \-F changelog-format
  158. Specifies the format of the changelog. See \fBdpkg\-parsechangelog\fP(1)
  159. for information about alternative formats.
  160. .TP
  161. .BI \-u upload-files-dir
  162. Look for the files to be uploaded in
  163. .I upload-files-dir
  164. rather than
  165. .B ..
  166. .RB ( dpkg\-genchanges
  167. needs to find these files so that it can include their sizes and
  168. checksums in the
  169. .B .changes
  170. file).
  171. .TP
  172. .B \-q
  173. Usually
  174. .B dpkg\-genchanges
  175. will produce informative messages on standard error, for example about
  176. how many of the package's source files are being uploaded.
  177. .B \-q
  178. suppresses these messages.
  179. .TP
  180. .BR \-O [\fIfilename\fP]
  181. Print the changes file to standard output (the default) or to \fIfilename\fP
  182. if specified (since dpkg 1.18.5).
  183. .TP
  184. .BR \-? ", " \-\-help
  185. Show the usage message and exit.
  186. .TP
  187. .BR \-\-version
  188. Show the version and exit.
  189. .
  190. .SH FILES
  191. .TP
  192. .B debian/files
  193. The list of generated files which are part of the upload being
  194. prepared.
  195. .B dpkg\-genchanges
  196. reads the data here when producing a
  197. .B .changes
  198. file.
  199. .
  200. .SH SEE ALSO
  201. .ad l
  202. .nh
  203. .BR deb\-substvars (5),
  204. .BR deb\-src\-control (5),
  205. .BR deb\-changelog (5),
  206. .BR deb\-changes (5).