From 4e6b4536d7611a303b4e57de932dce5bd07ee93f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 May 2009 14:51:03 -0400 Subject: [PATCH] dh: Support --with addon,addon,... Closes: #528178 --- debian/changelog | 7 +++++++ dh | 9 +++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index e815027..22bc55b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (7.2.11) UNRELEASED; urgency=low + + * dh: Support --with addon,addon,... + Closes: #528178 + + -- Joey Hess Mon, 11 May 2009 14:50:33 -0400 + debhelper (7.2.10) unstable; urgency=low * Close COMPAT_IN filehandle. Closes: #527464 diff --git a/dh b/dh index ea1605f..701f588 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)=@_; -- 2.39.2