summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-06-13 11:50:05 -0400
committerJoey Hess <joey@kitenet.net>2014-06-13 11:50:05 -0400
commit255e3cf0e3b909e9f6dccb66eb4483afc5413d34 (patch)
treea5f3b2af4d8f4f2343de2a443c6213c41e30c9f8
parent6975a4c505014634cf0d5f39262f366a9a64f065 (diff)
Pass --disable-silent-rules in dh_auto_configure if DH_VERBOSE is set.
-rw-r--r--Debian/Debhelper/Buildsystem/autoconf.pm3
-rw-r--r--debhelper.pod4
-rw-r--r--debian/changelog2
3 files changed, 7 insertions, 2 deletions
diff --git a/Debian/Debhelper/Buildsystem/autoconf.pm b/Debian/Debhelper/Buildsystem/autoconf.pm
index 20b9fd4..56a4288 100644
--- a/Debian/Debhelper/Buildsystem/autoconf.pm
+++ b/Debian/Debhelper/Buildsystem/autoconf.pm
@@ -37,6 +37,9 @@ sub configure {
push @opts, "--infodir=\${prefix}/share/info";
push @opts, "--sysconfdir=/etc";
push @opts, "--localstatedir=/var";
+ if (defined $ENV{DH_VERBOSE} && $ENV{DH_VERBOSE} ne "") {
+ push @opts, "--disable-silent-rules";
+ }
my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH");
if (! compat(8)) {
if (defined $multiarch) {
diff --git a/debhelper.pod b/debhelper.pod
index e1cff77..23f8582 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -651,8 +651,8 @@ F<preinst>, F<postrm>, F<prerm>, and F<config> scripts, etc.
=item B<DH_VERBOSE>
-Set to B<1> to enable verbose mode. Debhelper will output every command it runs
-that modifies files on the build system.
+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.
=item B<DH_COMPAT>
diff --git a/debian/changelog b/debian/changelog
index a93c8b9..585c82d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
debhelper (9.20140229) UNRELEASED; urgency=medium
+ * Pass --disable-silent-rules in dh_auto_configure if DH_VERBOSE is set.
+ Closes: #751207. Thanks, Helmut Grohne.
* Minor typos. Closes: #741144, #744176
* dh_installinit: Fix uninitialized value warning when --name is used.