diff options
Diffstat (limited to 'make_ext.pl')
-rw-r--r-- | make_ext.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/make_ext.pl b/make_ext.pl index 1b055c3613..f6d9e0f120 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -612,6 +612,7 @@ sub just_pm_to_blib { my ($first) = $mname =~ /^([^:]+)/; my $pm_to_blib = IS_VMS ? 'pm_to_blib.ts' : 'pm_to_blib'; + my $silent = defined $ENV{MAKEFLAGS} and $ENV{MAKEFLAGS} =~ /\b(s|silent|quiet)\b/; foreach my $leaf (<*>) { if (-d $leaf) { @@ -656,7 +657,8 @@ sub just_pm_to_blib { die "Inconsistent module $mname has both lib/ and $first/" if $has_lib && $has_topdir; - print "\nRunning pm_to_blib for $ext_dir directly\n"; + print "\nRunning pm_to_blib for $ext_dir directly\n" + unless $silent; my %pm; if ($has_top) { |