dpkg-genchanges.1 4.0 KB

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