dpkg-genchanges.1 5.0 KB

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