r29558 - in /trunk/dh-make-perl: dh-make-perl lib/DhMakePerl/Config.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sun Jan 11 14:25:18 UTC 2009
Author: dmn
Date: Sun Jan 11 14:25:15 2009
New Revision: 29558
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29558
Log:
change --verbose to be default only for --make command
Modified:
trunk/dh-make-perl/dh-make-perl
trunk/dh-make-perl/lib/DhMakePerl/Config.pm
Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=29558&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Sun Jan 11 14:25:15 2009
@@ -289,7 +289,7 @@
Print additional information while processing.
-Default: C<--verbose>
+--verbose is on by default if L</--make> is given, off otherwise.
=item B<--version> I<VERSION>
Modified: trunk/dh-make-perl/lib/DhMakePerl/Config.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Config.pm?rev=29558&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Config.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Config.pm Sun Jan 11 14:25:15 2009
@@ -55,11 +55,10 @@
exclude => qr/$Dpkg::Source::Package::diff_ignore_default_regexp/,
home_dir => "$ENV{HOME}/.dh-make-perl",
sources_list => '/etc/apt/sources.list',
- verbose => 1,
+ verbose => 0,
};
use constant cpan2deb_DEFAULTS => {
- verbose => 0,
build => 1,
#recursive => 1,
@@ -132,6 +131,10 @@
$self->command( ( keys %opts )[0] );
+ $self->verbose(1)
+ if $self->command eq 'make'
+ and not $self->_explicitly_set->{verbose};
+
if ($self->cpan2deb) {
@ARGV == 1 or die "cpan2deb requires exactly one non-option argument";
More information about the Pkg-perl-cvs-commits
mailing list