summaryrefslogtreecommitdiff
path: root/docs/yaml/functions/install_data.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/install_data.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/install_data.yaml')
-rw-r--r--docs/yaml/functions/install_data.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/yaml/functions/install_data.yaml b/docs/yaml/functions/install_data.yaml
index fdedf7e2f..b9aedca84 100644
--- a/docs/yaml/functions/install_data.yaml
+++ b/docs/yaml/functions/install_data.yaml
@@ -2,6 +2,9 @@ name: install_data
returns: void
description: |
Installs files from the source tree that are listed as positional arguments.
+ Please note that this can only install static files from the source tree.
+ Generated files are installed via the `install_dir:` kwarg on the respective
+ generators, such as `custom_target()` or `configure_file().
See [Installing](Installing.md) for more examples.