diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-04-01 07:03:35 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-04-01 07:03:35 -0400 |
| commit | cc8e67ce59c3b0274bc9f10cb287d5254aa74166 (patch) | |
| tree | 2356936606e16970b05216355141125b4faa6d9f /docs/yaml | |
| parent | fdcc5665904cc702db7a2e36de56b3f5eb29db7d (diff) | |
| download | meson-cc8e67ce59c3b0274bc9f10cb287d5254aa74166.tar.gz | |
docs: fix inaccurate description of command targets
It isn't possible to have one target depend on a run_target, because
those produce no outputs and are always out of date. But the docs didn't
specify which types of target are valid here.
Correct the docs to align with the implementation.
Fixes #10198
Diffstat (limited to 'docs/yaml')
| -rw-r--r-- | docs/yaml/functions/custom_target.yaml | 2 | ||||
| -rw-r--r-- | docs/yaml/functions/run_target.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml index 40f16b023..f5a33b90e 100644 --- a/docs/yaml/functions/custom_target.yaml +++ b/docs/yaml/functions/custom_target.yaml @@ -135,7 +135,7 @@ kwargs: argument. Useful for adding regen dependencies. depends: - type: list[tgt] + type: list[build_tgt | custom_tgt] description: | Specifies that this target depends on the specified target(s), even though it does not take any of them as a command diff --git a/docs/yaml/functions/run_target.yaml b/docs/yaml/functions/run_target.yaml index 9aecc31be..66d6e8f1d 100644 --- a/docs/yaml/functions/run_target.yaml +++ b/docs/yaml/functions/run_target.yaml @@ -40,7 +40,7 @@ kwargs: the first item will find that command in `PATH` and run it. depends: - type: list[tgt] + type: list[build_tgt | custom_tgt] description: | A list of targets that this target depends on but which are not listed in the command array (because, for example, the |
