Browse Source

man: Document that dpkg-source is sometimes better than dpkg-buildpackage -S

Suggested-by: Johannes Schauer <j.schauer@email.de>
Guillem Jover 11 years ago
parent
commit
4c1b9c849d
2 changed files with 5 additions and 0 deletions
  1. 2 0
      debian/changelog
  2. 3 0
      man/dpkg-buildpackage.1

+ 2 - 0
debian/changelog

@@ -128,6 +128,8 @@ dpkg (1.18.0) UNRELEASED; urgency=low
   * Make dependency checks fatal for dpkg-buildpackage -S.
   * Make dependency checks fatal for dpkg-buildpackage -S.
   * Move "(default)" annotations in scripts --help output after option
   * Move "(default)" annotations in scripts --help output after option
     description.
     description.
+  * Document in dpkg-buildpackage(1) that using dpkg-source is sometimes
+    better than -S. Suggested by Johannes Schauer <j.schauer@email.de>.
 
 
   [ Raphaël Hertzog ]
   [ Raphaël Hertzog ]
   * Drop myself from Uploaders.
   * Drop myself from Uploaders.

+ 3 - 0
man/dpkg-buildpackage.1

@@ -106,6 +106,9 @@ packages. Passed to \fBdpkg\-genchanges\fP.
 .B \-S
 .B \-S
 Specifies a source-only build, no binary packages need to be made.
 Specifies a source-only build, no binary packages need to be made.
 Passed to \fBdpkg\-genchanges\fP.
 Passed to \fBdpkg\-genchanges\fP.
+Note: if what you want is simply to (re-)build the source package, using
+\fBdpkg\-source\fP is always better as it does not require any build
+dependencies to be installed to be able to call the \fBclean\fP target.
 .TP
 .TP
 .B \-F
 .B \-F
 Specifies a normal full build, binary and source packages will be built
 Specifies a normal full build, binary and source packages will be built