dpkg-genchanges.1 4.0 KB

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