summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/functions/_build_target_base.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/yaml/functions/_build_target_base.yaml b/docs/yaml/functions/_build_target_base.yaml
index 112953387..1c5ee8f91 100644
--- a/docs/yaml/functions/_build_target_base.yaml
+++ b/docs/yaml/functions/_build_target_base.yaml
@@ -169,13 +169,17 @@ kwargs:
description: When set to true, this executable should be installed.
install_dir:
- type: str
+ type: array[str | bool]
description: |
override install directory for this file. If the value is a relative path,
it will be considered relative the `prefix` option.
For example, if you want to install plugins into a subdir, you'd use
something like this: `install_dir : get_option('libdir') / 'projectname-1.0'`.
+ This can be set to an array of values to control the the installation path
+ of build targets with multiple outputs. Currently, that means Vala. Setting
+ them to `true` means "use the default", and `false` means, don't install.
+
install_mode:
type: array[str | int]
since: 0.47.0