summaryrefslogtreecommitdiff
path: root/docs/yaml/functions/custom_target.yaml
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2025-07-28 22:36:35 +0530
committerEli Schwartz <eschwartz93@gmail.com>2025-07-28 13:13:19 -0400
commit189c27ef815b717a854d2ecdda1851463a5deff3 (patch)
treee8db1362373a3c592ae1912668c9c0bef446f2e5 /docs/yaml/functions/custom_target.yaml
parent555df4d863793027df8fca6d3eb6e18295770831 (diff)
downloadmeson-189c27ef815b717a854d2ecdda1851463a5deff3.tar.gz
docs: Reduce reading comprehension requirements for install functions
As we are becoming more popular, the docs have to be clearer because we're being exposed to a wider base of users with highly variable English language ability. Some of those can be helped with translations, but for the rest, let's repeat ourselves. Fixes https://github.com/mesonbuild/meson/issues/14843
Diffstat (limited to 'docs/yaml/functions/custom_target.yaml')
-rw-r--r--docs/yaml/functions/custom_target.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml
index 492040704..094787bbe 100644
--- a/docs/yaml/functions/custom_target.yaml
+++ b/docs/yaml/functions/custom_target.yaml
@@ -12,6 +12,8 @@ description: |
custom_target('foo', output: 'file.txt', ...)
```
+ You can install the outputted files with the `install_dir:` kwarg, see below.
+
*Since 0.60.0* the name argument is optional and defaults to the basename of the first
output (`file.txt` in the example above).