#!/usr/bin/perl -w
use strict;
-use vars qw($masterpodfile %Build %Targets $Verbose $Up %Ignore
+use vars qw($masterpodfile %Build %Targets $Verbose $Quiet $Up %Ignore
@Master %Readmes %Pods %Aux %Readmepods %Pragmata %Modules
%Copies %Generated);
use File::Spec;
# Generate any/all of these files
# --verbose gives slightly more output
+# --quiet suppresses routine warnings
# --build-all tries to build everything
# --build-foo updates foo as follows
# --showfiles shows the files to be changed
__USAGE__
unless @ARGV
&& GetOptions (verbose => \$Verbose,
+ quiet => \$Quiet,
showfiles => \$showfiles,
map {+"build-$_", \$Build{$_}} @files, 'all');
# Set them all to true
return;
}
}
- warn "$0: $file: cannot find =head1 NAME\n";
+ warn "$0: $file: cannot find =head1 NAME\n" unless $Quiet;
}
}
}