From cb7431b1200871e7a70499a8e02b82dc0fa32c39 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 29 Oct 2025 13:23:59 -0700 Subject: docs: fix documentation for build_target(install_dir) --- docs/yaml/functions/_build_target_base.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3