From 4e6b4536d7611a303b4e57de932dce5bd07ee93f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 May 2009 14:51:03 -0400 Subject: dh: Support --with addon,addon,... Closes: #528178 --- dh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'dh') diff --git a/dh b/dh index ea1605f1..701f588e 100755 --- a/dh +++ b/dh @@ -11,7 +11,7 @@ use Debian::Debhelper::Dh_Lib; =head1 SYNOPSIS -B sequence [B<--with> I] [B<--until> I] [B<--before> I] [B<--after> I] [B<--remaining>] [S>] +B sequence [B<--with> I[,I,...]] [B<--until> I] [B<--before> I] [B<--after> I] [B<--remaining>] [S>] =head1 DESCRIPTION @@ -45,11 +45,12 @@ you should Build-Depend on debhelper 7.0.50 or above.) =over 4 -=item B<--with> I +=item B<--with> I[,I,...] Add the debhelper commands specified by the given addon to appropriate places in the sequence of commands that is run. This option can be repeated more -than once, and is used when there is a third-party package that provides +than once, or multiple addons can be listed, separated by commas. +This is used when there is a third-party package that provides debhelper commands. See the PROGRAMMING file for documentation about the sequence addon interface. @@ -194,7 +195,7 @@ init(options => { "remaining" => \$dh{REMAINING}, "with=s" => sub { my ($option,$value)=@_; - push @{$dh{WITH}},$value; + push @{$dh{WITH}},split(",", $value); }, "without=s" => sub { my ($option,$value)=@_; -- cgit v1.2.3