dpkg-genchanges.1 4.7 KB

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