dpkg-genchanges.1 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. .\" dpkg manual page - dpkg-genchanges(1)
  2. .\"
  3. .\" Copyright © 1995-1996 Ian Jackson <ian@chiark.chu.cam.ac.uk>
  4. .\" Copyright © 2000 Wichert Akkerman <wakkerma@debian.org>
  5. .\" Copyright © 2006-2015 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. .B \-g
  40. Specifies that only source and architecture independent packages should
  41. be uploaded, thus no architecture specific packages will be included
  42. (since dpkg 1.17.11).
  43. .TP
  44. .B \-G
  45. Specifies that only source and architecture specific packages should
  46. be uploaded, thus no architecture independent packages will be included
  47. (since dpkg 1.17.11).
  48. .TP
  49. .BR \-b ", " \-B ", " \-A
  50. Specifies that a binary-only build is taking place, thus no source
  51. files are to be included.
  52. There's no distinction between \fB\-b\fP, \fB\-B\fP and \fB\-A\fP,
  53. the produced
  54. .B .changes
  55. file will include whatever files were created by the
  56. .B binary\-*
  57. target(s) of the package being built.
  58. .TP
  59. .B \-S
  60. Specifies that only the source should be uploaded, thus no binary
  61. packages will be included.
  62. .PP
  63. The \fB\-s\fP\fIx\fP options control whether the original source archive is
  64. included in the upload if any source is being generated (i.e.
  65. .BR \-b " or " \-B
  66. haven't been used).
  67. .TP
  68. .B \-si
  69. By default, or if specified, the original source will be included only if
  70. the upstream version number (the version without epoch and without Debian
  71. revision) differs from the upstream version number of the previous
  72. changelog entry.
  73. .TP
  74. .B \-sa
  75. Forces the inclusion of the original source.
  76. .TP
  77. .B \-sd
  78. Forces the exclusion of the original source and includes only the diff.
  79. .fi
  80. .TP
  81. .BI \-v version
  82. Causes changelog information from all versions strictly later than
  83. .I version
  84. to be used.
  85. .TP
  86. .BI \-C changes-description
  87. Read the description of the changes from the file
  88. .I changes-description
  89. rather than using the information from the source tree's changelog
  90. file.
  91. .TP
  92. .BI \-m maintainer-address
  93. Use
  94. .I maintainer-address
  95. as the name and email address of the maintainer for this package,
  96. rather than using the information from the source tree's control file.
  97. .TP
  98. .BI \-e maintainer-address
  99. Use
  100. .I maintainer-address
  101. as the name and email address of the maintainer for this upload,
  102. rather than using the information from the source tree's changelog.
  103. .TP
  104. .BI \-V name = value
  105. Set an output substitution variable.
  106. See \fBdeb\-substvars\fP(5) for a discussion of output substitution.
  107. .TP
  108. .BI \-T substvars-file
  109. Read substitution variables in
  110. .IR substvars-file ;
  111. the default is
  112. .BR debian/substvars .
  113. No variable substitution is done on any of the fields that are output,
  114. however the special variable \fIFormat\fR will override the field of the
  115. same name. This option can be used multiple times to read substitution
  116. variables from multiple files (since dpkg 1.15.6).
  117. .TP
  118. .BI \-D field = value
  119. Override or add an output control file field.
  120. .TP
  121. .BI \-U field
  122. Remove an output control file field.
  123. .TP
  124. .BI \-c controlfile
  125. Specifies the main source control file to read information from. The
  126. default is
  127. .BR debian/control .
  128. .TP
  129. .BI \-l changelog-file
  130. Specifies the changelog file to read information from. The
  131. default is
  132. .BR debian/changelog .
  133. .TP
  134. .BI \-f files-list-file
  135. Read the list of files to be uploaded here, rather than using
  136. .BR debian/files .
  137. .TP
  138. .BI \-F changelog-format
  139. Specifies the format of the changelog. See \fBdpkg\-parsechangelog\fP(1)
  140. for information about alternative formats.
  141. .TP
  142. .BI \-u upload-files-dir
  143. Look for the files to be uploaded in
  144. .I upload-files-dir
  145. rather than
  146. .B ..
  147. .RB ( dpkg\-genchanges
  148. needs to find these files so that it can include their sizes and
  149. checksums in the
  150. .B .changes
  151. file).
  152. .TP
  153. .B \-q
  154. Usually
  155. .B dpkg\-genchanges
  156. will produce informative messages on standard error, for example about
  157. how many of the package's source files are being uploaded.
  158. .B \-q
  159. suppresses these messages.
  160. .TP
  161. .BR \-? ", " \-\-help
  162. Show the usage message and exit.
  163. .TP
  164. .BR \-\-version
  165. Show the version and exit.
  166. .
  167. .SH FILES
  168. .TP
  169. .B debian/files
  170. The list of generated files which are part of the upload being
  171. prepared.
  172. .B dpkg\-genchanges
  173. reads the data here when producing a
  174. .B .changes
  175. file.