r53271 - /trunk/dh-make-perl/lib/DhMakePerl.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Tue Feb 23 16:30:57 UTC 2010
Author: gregoa
Date: Tue Feb 23 16:30:46 2010
New Revision: 53271
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53271
Log:
add support for "dh --with=bash_completion"
Modified:
trunk/dh-make-perl/lib/DhMakePerl.pm
Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=53271&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Tue Feb 23 16:30:46 2010
@@ -2206,6 +2206,10 @@
C<dh --with=quilt> needs debhelper 7.0.8 and quilt 0.46-7.
+=item dh --with=bash_completion
+
+C<dh --with=bash_completion> needs debhelper 7.0.8 and quilt 1:1.0.
+
=item quilt.make
If F</usr/share/quilt/quilt.make> is included in F<debian/rules>, a
@@ -2233,7 +2237,8 @@
sub discover_utility_deps {
my ( $self, $control ) = @_;
- my $deps = $control->source->Build_Depends;
+ my $deps = $control->source->Build_Depends;
+ my $depsi = $control->source->Build_Depends_Indep;
# remove any existing dependencies
$deps->remove( 'quilt', 'debhelper' );
@@ -2253,6 +2258,19 @@
'debhelper (>= 7.0.8)',
'quilt (>= 0.46-7)',
) if /dh\s+.*--with[= ]quilt/;
+ if ( /dh\s+.*--with[= ]bash_completion/ )
+ {
+ $self->explained_dependency(
+ 'dh -with=bash_completion',
+ $deps,
+ 'debhelper (>= 7.0.8)',
+ );
+ $self->explained_dependency(
+ 'dh -with=bash_completion',
+ $depsi,
+ 'bash-completion (>= 1:1.0)'
+ );
+ }
$self->explained_dependency( 'override_dh_* target',
$deps, 'debhelper (>= 7.0.50)' )
if /^override_dh_/;
More information about the Pkg-perl-cvs-commits
mailing list