From 4433049e1c444db9536be2141431d98b0ea438e4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 6 Aug 2009 11:08:45 -0400 Subject: 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. --- doc/PROGRAMMING | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/PROGRAMMING') diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index 4e7ea46..c3530f2 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -263,7 +263,12 @@ insert_after($existing_command, $new_command) 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: ------------------- -- cgit v1.2.1