summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/PROGRAMMING17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index 893b87fc..ce13c53a 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -431,30 +431,47 @@ calling some functions from Dh_Lib:
insert_before($existing_command, $new_command)
Insert $new_command in sequences before $existing_command
+ Compatible with "arch-only"/"indep-only" modes if the command
+ appears only in a compatible sequence.
+
insert_after($existing_command, $new_command)
Insert $new_command in sequences after $existing_command
+ Compatible with "arch-only"/"indep-only" modes if the command
+ appears only in a compatible sequence.
+
remove_command($existing_command)
Remove $existing_command from the list of commands to run
in all sequences.
+ Cannot be used in "arch-only"/"indep-only" mode.
+
add_command($new_command, $sequence)
Add $new_command to the beginning of the specified sequence.
If the sequence does not exist, it will be created.
+ Compatible with "arch-only"/"indep-only" modes if $sequence
+ is an "-arch" or "-indep" sequence (respectively).
+
add_command_options($command, $opt1, $opt2, ...)
Append $opt1, $opt2 etc. to the list of additional options which
dh passes when running the specified $command. These options are
not relayed to debhelper commands called via $command override.
+ Cannot be used in "arch-only"/"indep-only" mode.
+
remove_command_options($command)
Clear all additional $command options previously added with
add_command_options().
+ Cannot be used in "arch-only"/"indep-only" mode.
+
remove_command_options($command, $opt1, $opt2, ...)
Remove $opt1, $opt2 etc. from the list of additional options which
dh passes when running the specified $command.
+ Cannot be used in "arch-only"/"indep-only" mode.
+
Logging helpers and dh_missing:
-------------------------------