dpkg-genchanges.1 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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 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. .TP
  83. .BI \-D field = value
  84. Override or add an output control file field.
  85. .TP
  86. .BI \-U field
  87. Remove an output control file field.
  88. .TP
  89. .BI \-c controlfile
  90. Specifies the main source control file to read information from. The
  91. default is
  92. .BR debian/control .
  93. .TP
  94. .BI \-l changelogfile
  95. Specifies the change log file to read information from. The
  96. default is
  97. .BR debian/changelog .
  98. .TP
  99. .BI \-f fileslistfile
  100. Read the list of files to be uploaded here, rather than using
  101. .BR debian/files .
  102. .TP
  103. .BI \-F changelogformat
  104. Specifies the format of the changelog. By default the format is read
  105. from a special line near the bottom of the changelog or failing that
  106. defaults to the debian standard format.
  107. .TP
  108. .BI \-u uploadfilesdir
  109. Look for the files to be uploaded in
  110. .I uploadfilesdir
  111. rather than
  112. .B ..
  113. .RB ( dpkg\-genchanges
  114. needs to find these files so that it can include their sizes and
  115. checksums in the
  116. .B .changes
  117. file).
  118. .TP
  119. .B \-q
  120. Usually
  121. .B dpkg\-genchanges
  122. will produce informative messages on standard error, for example about
  123. how many of the package's source files are being uploaded.
  124. .B \-q
  125. suppresses these messages.
  126. .TP
  127. .BR \-h ", " \-\-help
  128. Show the usage message and exit.
  129. .TP
  130. .BR \-\-version
  131. Show the version and exit.
  132. .
  133. .SH FILES
  134. .TP
  135. .B debian/files
  136. The list of generated files which are part of the upload being
  137. prepared.
  138. .B dpkg\-genchanges
  139. reads the data here when producing a
  140. .B .changes
  141. file.
  142. .
  143. .SH AUTHORS
  144. Copyright (C) 1995-1996 Ian Jackson
  145. .br
  146. Copyright (C) 2000 Wichert Akkerman
  147. .sp
  148. This is free software; see the GNU General Public Licence version 2 or later
  149. for copying conditions. There is NO WARRANTY.