diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2025-07-28 22:36:35 +0530 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-07-28 13:13:19 -0400 |
| commit | 189c27ef815b717a854d2ecdda1851463a5deff3 (patch) | |
| tree | e8db1362373a3c592ae1912668c9c0bef446f2e5 /docs/yaml/functions/install_headers.yaml | |
| parent | 555df4d863793027df8fca6d3eb6e18295770831 (diff) | |
| download | meson-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_headers.yaml')
| -rw-r--r-- | docs/yaml/functions/install_headers.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/yaml/functions/install_headers.yaml b/docs/yaml/functions/install_headers.yaml index da304bc3a..42f64624b 100644 --- a/docs/yaml/functions/install_headers.yaml +++ b/docs/yaml/functions/install_headers.yaml @@ -9,6 +9,10 @@ description: | argument. As an example if this has the value `myproj` then the headers would be installed to `/{prefix}/include/myproj`. + 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(). + example: | For example, this will install `common.h` and `kola.h` into `/{prefix}/include`: |
