summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-10-29 13:23:59 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-12-17 10:27:54 -0800
commitcb7431b1200871e7a70499a8e02b82dc0fa32c39 (patch)
tree026372bc84e9accdc11623989610eeae7fe90ee6 /docs
parentf2d3ab56c252adb8bec0272087f33effe7807594 (diff)
downloadmeson-cb7431b1200871e7a70499a8e02b82dc0fa32c39.tar.gz
docs: fix documentation for build_target(install_dir)
Diffstat (limited to 'docs')
-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