summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2019-08-16 20:19:42 +0000
committerNiels Thykier <niels@thykier.net>2019-08-16 20:19:42 +0000
commitedf64efa348c91d631d090f36007fc1b872d02b3 (patch)
tree286dcb407cdbf32b3eb9419b56e554ff28fe04dd /doc
parentc913956497dc1349115116d5e366c8010f769344 (diff)
downloaddebhelper-edf64efa348c91d631d090f36007fc1b872d02b3.tar.gz
Update documentation and changelog to cover new sequence/addon features
Signed-off-by: Niels Thykier <niels@thykier.net>
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:
-------------------------------