summaryrefslogtreecommitdiff
path: root/lib/Debian/Debhelper/Buildsystem/makefile.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Debian/Debhelper/Buildsystem/makefile.pm')
-rw-r--r--lib/Debian/Debhelper/Buildsystem/makefile.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/makefile.pm b/lib/Debian/Debhelper/Buildsystem/makefile.pm
index 052af0b4..6e661822 100644
--- a/lib/Debian/Debhelper/Buildsystem/makefile.pm
+++ b/lib/Debian/Debhelper/Buildsystem/makefile.pm
@@ -9,7 +9,7 @@ package Debian::Debhelper::Buildsystem::makefile;
use strict;
use warnings;
use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value escape_shell clean_jobserver_makeflags is_cross_compiling compat
- should_use_root gain_root_cmd);
+ should_use_root gain_root_cmd %dh);
use parent qw(Debian::Debhelper::Buildsystem);
my %DEB_DEFAULT_TOOLS = (
@@ -89,6 +89,12 @@ sub do_make {
unshift(@_, '-j1');
}
+ if ($dh{QUIET}) {
+ unshift(@_, 'V=0');
+ } else {
+ unshift(@_, 'V=1');
+ }
+
my @root_cmd;
if (exists($this->{_run_make_as_root}) and $this->{_run_make_as_root}) {
@root_cmd = gain_root_cmd();