Selaa lähdekoodia

dpkg-buildpackage(1): Document that the -j argument is optional

This was clear from the --help output, but not from the man page.
Guillem Jover 12 vuotta sitten
vanhempi
commit
aa9b18df5a
2 muutettua tiedostoa jossa 10 lisäystä ja 7 poistoa
  1. 1 0
      debian/changelog
  2. 9 7
      man/dpkg-buildpackage.1

+ 1 - 0
debian/changelog

@@ -32,6 +32,7 @@ dpkg (1.17.10) UNRELEASED; urgency=low
     - Add notes in dpkg-gensymbols(1) about symbol backward-compatibility.
     - Add notes in dpkg-gensymbols(1) about symbol backward-compatibility.
       Based on a patch by Bernhard R. Link <brlink@debian.org>.
       Based on a patch by Bernhard R. Link <brlink@debian.org>.
       Closes: #746973
       Closes: #746973
+    - Document that dpkg-buildpackage(1) -j argument is optional.
 
 
   [ Updated manpages translations ]
   [ Updated manpages translations ]
   * German (Helge Kreutzmann).
   * German (Helge Kreutzmann).

+ 9 - 7
man/dpkg-buildpackage.1

@@ -145,16 +145,18 @@ no specific profile. Also adds them (as a space separated list) to the
 \fBDEB_BUILD_PROFILES\fP environment variable which allows, for example,
 \fBDEB_BUILD_PROFILES\fP environment variable which allows, for example,
 \fBdebian/rules\fP files to use this information for conditional builds.
 \fBdebian/rules\fP files to use this information for conditional builds.
 .TP
 .TP
-.BI \-j jobs
-Number of jobs allowed to be run simultaneously, equivalent to the
+.BR \-j [\fIjobs\fP]
+Number of jobs allowed to be run simultaneously, or unlimited number
+if \fIjobs\fP is not specified, equivalent to the
 .BR make (1)
 .BR make (1)
 option of the same name. Will add itself to the \fBMAKEFLAGS\fP
 option of the same name. Will add itself to the \fBMAKEFLAGS\fP
 environment variable, which should cause all subsequent make
 environment variable, which should cause all subsequent make
-invocations to inherit the option. Also adds \fBparallel=\fP\fIjobs\fP
-to the \fBDEB_BUILD_OPTIONS\fP environment variable which allows
-debian/rules files to use this information for their own purposes.
-The \fBparallel=\fP\fIjobs\fP in \fBDEB_BUILD_OPTIONS\fP environment variable
-will override the \fB\-j\fP value if this option is given.
+invocations to inherit the option. Also adds \fBparallel=\fP\fIjobs\fP or
+\fBparallel=\fP to the \fBDEB_BUILD_OPTIONS\fP environment variable which
+allows debian/rules files to use this information for their own purposes.
+The \fBparallel=\fP\fIjobs\fP or \fBparallel=\fP option in
+\fBDEB_BUILD_OPTIONS\fP environment variable will override the \fB\-j\fP
+value if this option is given.
 .TP
 .TP
 .B \-D
 .B \-D
 Check build dependencies and conflicts; abort if unsatisfied. This is the
 Check build dependencies and conflicts; abort if unsatisfied. This is the