dpkg-genchanges.1 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .TH dpkg\-genchanges 1 "2007-07-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
  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 and \fB\-B\fP,
  22. 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 if the
  39. version number ends in
  40. .BR \-0 " or " \-1 ,
  41. i.e. if the Debian revision part of the version number is
  42. .BR 0 " or " 1 .
  43. .TP
  44. .B \-sa
  45. Forces the inclusion of the original source.
  46. .TP
  47. .B \-sd
  48. Forces the exclusion of the original source and includes only the diff.
  49. .fi
  50. .TP
  51. .BI \-v version
  52. Causes changelog information from all versions strictly later than
  53. .I version
  54. to be used.
  55. .TP
  56. .BI \-C changesdescription
  57. Read the description of the changes from the file
  58. .I changesdescription
  59. rather than using the information from the source tree's changelog
  60. file.
  61. .TP
  62. .BI \-m maintaineraddress
  63. Use
  64. .I maintaineraddress
  65. as the name and email address of the maintainer for this package,
  66. rather than using the information from the source tree's control file.
  67. .TP
  68. .BI \-e maintaineraddress
  69. Use
  70. .I maintaineraddress
  71. as the name and email address of the maintainer for this upload,
  72. rather than using the information from the source tree's changelog.
  73. .TP
  74. .BI \-V name = value
  75. Set an output substitution variable.
  76. See \fBdeb\-substvars\fP(5) for a discussion of output substitution.
  77. .TP
  78. .BI \-T substvarsfile
  79. Read substitution variables in
  80. .IR substvarsfile ;
  81. the default is
  82. .BR debian/substvars .
  83. .TP
  84. .BI \-D field = value
  85. Override or add an output control file field.
  86. .TP
  87. .BI \-U field
  88. Remove an output control file field.
  89. .TP
  90. .BI \-c controlfile
  91. Specifies the main source control file to read information from. The
  92. default is
  93. .BR debian/control .
  94. .TP
  95. .BI \-l changelogfile
  96. Specifies the change log file to read information from. The
  97. default is
  98. .BR debian/changelog .
  99. .TP
  100. .BI \-f fileslistfile
  101. Read the list of files to be uploaded here, rather than using
  102. .BR debian/files .
  103. .TP
  104. .BI \-F changelogformat
  105. Specifies the format of the changelog. By default the format is read
  106. from a special line near the bottom of the changelog or failing that
  107. defaults to the debian standard format.
  108. .TP
  109. .BI \-u uploadfilesdir
  110. Look for the files to be uploaded in
  111. .I uploadfilesdir
  112. rather than
  113. .B ..
  114. .RB ( dpkg\-genchanges
  115. needs to find these files so that it can include their sizes and
  116. checksums in the
  117. .B .changes
  118. file).
  119. .TP
  120. .B \-q
  121. Usually
  122. .B dpkg\-genchanges
  123. will produce informative messages on standard error, for example about
  124. how many of the package's source files are being uploaded.
  125. .B \-q
  126. suppresses these messages.
  127. .TP
  128. .BR \-h ", " \-\-help
  129. Show the usage message and exit.
  130. .TP
  131. .BR \-\-version
  132. Show the version and exit.
  133. .
  134. .SH FILES
  135. .TP
  136. .B debian/files
  137. The list of generated files which are part of the upload being
  138. prepared.
  139. .B dpkg\-genchanges
  140. reads the data here when producing a
  141. .B .changes
  142. file.
  143. .
  144. .SH AUTHORS
  145. Copyright (C) 1995-1996 Ian Jackson
  146. .br
  147. Copyright (C) 2000 Wichert Akkerman
  148. .sp
  149. This is free software; see the GNU General Public Licence version 2 or later
  150. for copying conditions. There is NO WARRANTY.