aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2023-06-26 16:24:53 +0200
committerEli Schwartz <eschwartz93@gmail.com>2023-07-26 13:30:49 -0400
commit9eb7fe332f6a6a8babd040b76ad2a6808faf0423 (patch)
treec52b1c241f7f77e2e2beee8281c50ec39e32c569 /docs
parenta0f165b2fa57653a44c97398c00c453ec28e6dcc (diff)
downloadmeson-9eb7fe332f6a6a8babd040b76ad2a6808faf0423.zip
meson-9eb7fe332f6a6a8babd040b76ad2a6808faf0423.tar.gz
meson-9eb7fe332f6a6a8babd040b76ad2a6808faf0423.tar.bz2
Fix install_data() default install path
This fixes two issues in constructing the default installation path when install_dir is not specified: - inside a subproject, install_data() would construct the destination path using the parent project name instead than the current project name, - when specifying preserve_path, install_data() would construct the destination path omitting the project name. Fixes #11910.
Diffstat (limited to 'docs')
-rw-r--r--docs/yaml/functions/install_data.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/yaml/functions/install_data.yaml b/docs/yaml/functions/install_data.yaml
index b083479..5ecc318 100644
--- a/docs/yaml/functions/install_data.yaml
+++ b/docs/yaml/functions/install_data.yaml
@@ -12,6 +12,8 @@ varargs:
warnings:
- the `install_mode` kwarg ignored integer values between 0.59.0 -- 1.1.0.
+ - an omitted `install_dir` kwarg did not work correctly inside of a subproject until 1.3.0.
+ - an omitted `install_dir` kwarg did not work correctly when combined with the `preserve_path` kwarg untill 1.3.0.
kwargs:
install_dir: