diff options
author | Gerion Entrup <gerion.entrup@flump.de> | 2022-07-31 14:16:59 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-07-31 07:50:26 -0700 |
commit | e5df70b8d3956e1c8a5d50defd000fbec8bf44a5 (patch) | |
tree | 276418649ec28133094ad5b1f8041331bc0c07b7 /docs/yaml | |
parent | fa044e011d5d7a3525c9b3f2acfe1cbf4a0a96a1 (diff) | |
download | meson-e5df70b8d3956e1c8a5d50defd000fbec8bf44a5.tar.gz |
documentation: extend custom_target install
custom_target allows selective installation if it outputs more than one
file. Mention this explicitly in install.
Additionally, fix the types for install_dir.
see: https://github.com/mesonbuild/meson/issues/505
Diffstat (limited to 'docs/yaml')
-rw-r--r-- | docs/yaml/functions/custom_target.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml index f5a33b90e..dae6a4f35 100644 --- a/docs/yaml/functions/custom_target.yaml +++ b/docs/yaml/functions/custom_target.yaml @@ -161,10 +161,11 @@ kwargs: install: type: bool - description: When true, this target is installed during the install step. + description: When true, one or more files of this target are installed during + the install step (see `install_dir` for details). install_dir: - type: str | list[str] + type: str | list[str | bool] description: | If only one install_dir is provided, all outputs are installed there. *Since 0.40.0* Allows you to specify the installation directory for each |