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
pull/10649/head
Gerion Entrup 2 years ago committed by Dylan Baker
parent fa044e011d
commit e5df70b8d3
  1. 5
      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

Loading…
Cancel
Save