+debhelper (7.3.12) UNRELEASED; urgency=low
+
+ * dh: Allow creation of new sequences (such as to handle a patch
+ target for quilt), by adding an add_command function to the
+ sequence addon interface. See #540124.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 06 Aug 2009 11:07:45 -0400
+
debhelper (7.3.11) unstable; urgency=low
* perl_build: Fix Build check to honor source directory setting.
}
}
+sub add_command {
+ my $command=shift;
+ my $sequence=shift;
+ unshift @{$sequences{$sequence}}, $command;
+}
foreach my $addon (@{$dh{WITH}}) {
my $mod="Debian::Debhelper::Sequence::$addon";
$mod=~s/-/_/g;
Insert $new_command in sequences after $existing_command
remove_command($existing_command)
- Remove $existing_command from the list of commands to run.
+ Remove $existing_command from the list of commands to run
+ in all sequences.
+
+add_command($sequence, $new_command)
+ Add $new_command to the beginning of the specified sequence.
+ If the sequence does not exist, it will be created.
Buildsystem Classes:
-------------------