summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2022-10-08 17:20:59 +0000
committerNiels Thykier <niels@thykier.net>2022-10-08 17:20:59 +0000
commitda7a1cd5a01dc14497f77222cba79449bd05281b (patch)
tree24e8466b892a1ab2a392e537712c6671e80fb89c
parentd733559ad93681d87367fa5872962f2e2f17aeb1 (diff)
debhelper.pod: Clarify that the docs about verbosity/quiet/terse
Closes: #1002464 Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r--debhelper.pod18
-rw-r--r--debian/changelog6
2 files changed, 18 insertions, 6 deletions
diff --git a/debhelper.pod b/debhelper.pod
index bd334095..29a37f7f 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -274,7 +274,10 @@ The following command line options are supported by all debhelper programs.
=item B<-v>, B<--verbose>
-Verbose mode: show all commands that modify the package build directory.
+Verbose mode: show commands that modify the package build directory.
+
+Note that verbose mode may also output other "internal" commands that do not
+directly affect the package build directory.
=item B<--no-act>
@@ -679,17 +682,18 @@ example, "B<export DH_VERBOSE>".
=item B<DH_VERBOSE>
-Set to B<1> to enable verbose mode. Debhelper will output every command it
-runs. Also enables verbose build logs for some build systems like autoconf.
+Set to a non-empty value to enable verbose mode. Please see the B<-v> / B<--verbose>
+option for details.
=item B<DH_QUIET>
-Set to B<1> to enable quiet mode. Debhelper will not output commands calling
+Set to a non-empty value to enable quiet mode. Debhelper will not output commands calling
the upstream build system nor will dh print which subcommands are called
and depending on the upstream build system might make that more quiet, too.
This makes it easier to spot important messages but makes the output quite
useless as buildd log.
-Ignored if DH_VERBOSE is also set.
+
+Ignored if DH_VERBOSE is also set or B<-v> / B<--verbose> is passed.
=item B<DH_COMPAT>
@@ -897,7 +901,9 @@ upstream builds to be terse (i.e. reduce verbosity in their output).
This is subject to the upstream and the debhelper build system
supporting such features.
-This value affects most B<dh_auto_*> tools.
+This value affects most B<dh_auto_*> tools directly. For commands
+provided by the debhelper package, it also causes the tools to act like
+the B<DH_QUIET> environment variable was non-empty.
=back
diff --git a/debian/changelog b/debian/changelog
index cbb69b58..fc435096 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -66,6 +66,12 @@ debhelper (13.10) UNRELEASED; urgency=medium
`examples` as content for the `debian/<pkg>.examples` file
to avoid the triggering `.../examples/examples` case.
(Closes: #1000384)
+ * debhelper.pod: Clarify the documentation around `-v` +
+ `--verbose` vs. `DH_VERBOSE` vs. `DH_QUIET` and `terse`
+ from `DEB_BUILD_OPTIONS`. Notably, clarify that `-v`
+ and `DH_VERBOSE` provides the same functionality and
+ that they do not cause *all* commands to be shown.
+ (Closes: #1002464)
[ Translations ]
* Update Portuguese translation (Américo Monteiro)