aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-14 21:30:02 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-06-17 14:33:01 -0400
commite99e55d0aa6209388ce76db42322b18006fbaaad (patch)
tree4e4b079c8c2292c56e147492b0e9578c509b1dad
parentedb38fd6f64f9b3b4f2fd7ef17cc3eddc9d0d7ad (diff)
downloadmeson-e99e55d0aa6209388ce76db42322b18006fbaaad.zip
meson-e99e55d0aa6209388ce76db42322b18006fbaaad.tar.gz
meson-e99e55d0aa6209388ce76db42322b18006fbaaad.tar.bz2
docs: fix incorrect info for declare_dependency sources
The type information is clearly wrong as it disagrees with the description w.r.t. generated headers. We also rely on it accepting custom targets for the obvious reason that we accept it in a build target too! In fact, we rely on this in the testsuite too.
-rw-r--r--docs/yaml/functions/declare_dependency.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/yaml/functions/declare_dependency.yaml b/docs/yaml/functions/declare_dependency.yaml
index bcc8343..51fde28 100644
--- a/docs/yaml/functions/declare_dependency.yaml
+++ b/docs/yaml/functions/declare_dependency.yaml
@@ -37,7 +37,7 @@ kwargs:
description: Libraries to link fully, same as [[executable]].
sources:
- type: list[str | file]
+ type: list[str | file | custom_tgt | custom_idx | generated_list]
description: |
sources to add to targets
(or generated header files