[debhelper-devel] [RFC 0/4] improve verbosity/silentness of debhelper

Bernhard R. Link brlink at debian.org
Mon Dec 29 12:33:49 UTC 2014


This series tries to improve the verbosity and silentness of debhelper a
bit.

The old rule of debhelper programs only outputting errors by default was
fine for dh_* commands but starting with the dh_auto_* commands it hides
information previously shown that can be quite annoying to miss and dh(1)
itself already ignored the rule by outputting which dh_* commands to run.

This series adds a DH_QUIET environment variable to print less stuff,
then switches to display upstream build system commands to be run without
this (so one can see in the buildd log which options configure or make got
passed) and finally disables silent rules by default, too (So we can close
#551463 and #639168 but still have a way for people to opt out locally).

Targeting jessie+1.

Open question: why does Buildsystem look at the environment variables
directly instead of using %dh?

Bernhard R. Link (4):
  add DH_QUIET environment variable
  dh_auto_* prints upstream build system commands run unless DH_QUIET is set
  configure gets --*-silent-rules depending on DH_QUIET
  Don't tell cmake to generate verbose makefiles if DH_QUIET is set

 Debian/Debhelper/Buildsystem.pm          | 16 ++++++++--------
 Debian/Debhelper/Buildsystem/autoconf.pm |  4 +++-
 Debian/Debhelper/Buildsystem/cmake.pm    |  4 +++-
 Debian/Debhelper/Dh_Lib.pm               | 29 ++++++++++++++++++++++++++++-
 debhelper.pod                            |  9 +++++++++
 dh                                       |  4 +++-
 doc/PROGRAMMING                          | 11 +++++++++++
 t/buildsystems/autoconf/configure        |  1 +
 8 files changed, 66 insertions(+), 12 deletions(-)

-- 
2.1.4

	Bernhard R. Link
-- 
F8AC 04D5 0B9B 064B 3383  C3DA AFFC 96D1 151D FFDC



More information about the debhelper-devel mailing list