diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-11 14:51:03 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-11 14:51:03 -0400 |
commit | 4e6b4536d7611a303b4e57de932dce5bd07ee93f (patch) | |
tree | 3512bc51cb2597a5301ddb35c8db347d6056c110 /dh | |
parent | dd0ea070fcb2935b570dda4677039901cf601799 (diff) |
dh: Support --with addon,addon,... Closes: #528178
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -11,7 +11,7 @@ use Debian::Debhelper::Dh_Lib; =head1 SYNOPSIS -B<dh> sequence [B<--with> I<addon>] [B<--until> I<cmd>] [B<--before> I<cmd>] [B<--after> I<cmd>] [B<--remaining>] [S<I<debhelper options>>] +B<dh> sequence [B<--with> I<addon>[,I<addon>,...]] [B<--until> I<cmd>] [B<--before> I<cmd>] [B<--after> I<cmd>] [B<--remaining>] [S<I<debhelper options>>] =head1 DESCRIPTION @@ -45,11 +45,12 @@ you should Build-Depend on debhelper 7.0.50 or above.) =over 4 -=item B<--with> I<addon> +=item B<--with> I<addon>[,I<addon>,...] 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)=@_; |