dpkg-genchanges.1 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. .TH dpkg\-genchanges 1 "2008-08-18" "Debian Project" "dpkg utilities"
  2. .SH NAME
  3. dpkg\-genchanges \- generate Debian .changes files
  4. .
  5. .SH SYNOPSIS
  6. .B dpkg\-genchanges
  7. .RI [ options ]
  8. .br
  9. .
  10. .SH DESCRIPTION
  11. .B dpkg\-genchanges
  12. reads information from an unpacked and built Debian source tree and
  13. from the files it has generated and generates a Debian upload control
  14. file
  15. .RB ( .changes " file)."
  16. .
  17. .SH OPTIONS
  18. .TP
  19. .BR \-b ", " \-B ", " \-A
  20. Specifies that a binary-only build is taking place (no source files are
  21. to be included). There's no distinction between \fB\-b\fP, \fB\-B\fP and
  22. \fB\-A\fP, the produced
  23. .B .changes
  24. file will include whatever files were created by the
  25. .B binary\-*
  26. target(s) of the package being built.
  27. .TP
  28. .B \-S
  29. Specifies that only the source should be uploaded (no binary packages
  30. will be included).
  31. .PP
  32. The \fB-s\fP\fIx\fP options control whether the original source archive is
  33. included in the upload if any source is being generated (i.e.
  34. .BR \-b " or " \-B
  35. haven't been used).
  36. .TP
  37. .B \-si
  38. By default, or if specified, the original source will be included only if
  39. the upstream version number (the version without epoch and without Debian
  40. revision) differs from the upstream version number of the previous
  41. changelog entry.
  42. .TP
  43. .B \-sa
  44. Forces the inclusion of the original source.
  45. .TP
  46. .B \-sd
  47. Forces the exclusion of the original source and includes only the diff.
  48. .fi
  49. .TP
  50. .BI \-v version
  51. Causes changelog information from all versions strictly later than
  52. .I version
  53. to be used.
  54. .TP
  55. .BI \-C changesdescription
  56. Read the description of the changes from the file
  57. .I changesdescription
  58. rather than using the information from the source tree's changelog
  59. file.
  60. .TP
  61. .BI \-m maintaineraddress
  62. Use
  63. .I maintaineraddress
  64. as the name and email address of the maintainer for this package,
  65. rather than using the information from the source tree's control file.
  66. .TP
  67. .BI \-e maintaineraddress
  68. Use
  69. .I maintaineraddress
  70. as the name and email address of the maintainer for this upload,
  71. rather than using the information from the source tree's changelog.
  72. .TP
  73. .BI \-V name = value
  74. Set an output substitution variable.
  75. See \fBdeb\-substvars\fP(5) for a discussion of output substitution.
  76. .TP
  77. .BI \-T substvarsfile
  78. Read substitution variables in
  79. .IR substvarsfile ;
  80. the default is
  81. .BR debian/substvars .
  82. No variable substitution is done on any of the fields that are output,
  83. however the special variable \fIFormat\fR will override the field of the
  84. same name. This option can be used multiple times to read substitution
  85. variables from multiple files.
  86. .TP
  87. .BI \-D field = value
  88. Override or add an output control file field.
  89. .TP
  90. .BI \-U field
  91. Remove an output control file field.
  92. .TP
  93. .BI \-c controlfile
  94. Specifies the main source control file to read information from. The
  95. default is
  96. .BR debian/control .
  97. .TP
  98. .BI \-l changelogfile
  99. Specifies the change log file to read information from. The
  100. default is
  101. .BR debian/changelog .
  102. .TP
  103. .BI \-f fileslistfile
  104. Read the list of files to be uploaded here, rather than using
  105. .BR debian/files .
  106. .TP
  107. .BI \-F changelogformat
  108. Specifies the format of the changelog. By default the format is read
  109. from a special line near the bottom of the changelog or failing that
  110. defaults to the debian standard format.
  111. .TP
  112. .BI \-u uploadfilesdir
  113. Look for the files to be uploaded in
  114. .I uploadfilesdir
  115. rather than
  116. .B ..
  117. .RB ( dpkg\-genchanges
  118. needs to find these files so that it can include their sizes and
  119. checksums in the
  120. .B .changes
  121. file).
  122. .TP
  123. .B \-q
  124. Usually
  125. .B dpkg\-genchanges
  126. will produce informative messages on standard error, for example about
  127. how many of the package's source files are being uploaded.
  128. .B \-q
  129. suppresses these messages.
  130. .TP
  131. .BR \-h ", " \-\-help
  132. Show the usage message and exit.
  133. .TP
  134. .BR \-\-version
  135. Show the version and exit.
  136. .
  137. .SH FILES
  138. .TP
  139. .B debian/files
  140. The list of generated files which are part of the upload being
  141. prepared.
  142. .B dpkg\-genchanges
  143. reads the data here when producing a
  144. .B .changes
  145. file.
  146. .
  147. .SH AUTHORS
  148. Copyright \(co 1995-1996 Ian Jackson
  149. .br
  150. Copyright \(co 2000 Wichert Akkerman
  151. .sp
  152. This is free software; see the GNU General Public Licence version 2 or later
  153. for copying conditions. There is NO WARRANTY.