From e5df70b8d3956e1c8a5d50defd000fbec8bf44a5 Mon Sep 17 00:00:00 2001 From: Gerion Entrup Date: Sun, 31 Jul 2022 14:16:59 +0200 Subject: 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 --- docs/yaml/functions/custom_target.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/yaml/functions') diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml index f5a33b9..dae6a4f 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 -- cgit v1.1