diff options
author | Modestas Vainius <modestas@vainius.eu> | 2009-08-26 16:40:45 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-08-26 16:40:45 -0400 |
commit | 391a6c42bc528de0e3ba34874346d290054f517e (patch) | |
tree | 8745784c60ede734b3660b67cfe115416cdbd9bc /doc | |
parent | f92915e39eef5b24698881576121356ccba0b7c8 (diff) | |
download | debhelper-391a6c42bc528de0e3ba34874346d290054f517e.tar.gz |
Allow dh addons to pass options to debhelper commands
Add dh addons APIs add_command_options()/remove_command_options() that
allow addons to add additional options which dh will pass to the specified
debhelper commands.
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/PROGRAMMING | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING index 4be09b1c..211e57ee 100644 --- a/doc/PROGRAMMING +++ b/doc/PROGRAMMING @@ -270,6 +270,20 @@ 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. +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. + +remove_command_options($command) + Clear all additional $command options previously added with + add_command_options(). + +remove_command_options($command, $opt1, $opt2, ...) + Remove $opt1, $opt2 etc. from the list of additional options which + dh passes when running the specified $command. $optX might be a string + or a regular expresion. + Buildsystem Classes: ------------------- |