mirror of
https://github.com/mesonbuild/meson.git
synced 2026-08-13 17:07:04 +00:00
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
This commit is contained in:
committed by
Dylan Baker
parent
fa044e011d
commit
e5df70b8d3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user