diff options
author | Aleksey Filippov <alekseyf@google.com> | 2018-02-04 21:23:40 +0000 |
---|---|---|
committer | Aleksey Filippov <alekseyf@google.com> | 2018-02-05 01:28:07 +0000 |
commit | 13f91840e3e54b60bd97e4a3f3031bc92de2207c (patch) | |
tree | 882bbbb1c402dfc74a635670269981a633fe8764 /docs/markdown | |
parent | 549f9a41e50c0cf0f8550462ab9bff169ff3a106 (diff) | |
download | meson-13f91840e3e54b60bd97e4a3f3031bc92de2207c.zip meson-13f91840e3e54b60bd97e4a3f3031bc92de2207c.tar.gz meson-13f91840e3e54b60bd97e4a3f3031bc92de2207c.tar.bz2 |
Clarify multi-component source directory behavior of install_subdir()
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Reference-manual.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 82f0b5a..5cfaf0e 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -787,6 +787,7 @@ The following keyword arguments are supported: Names are interpreted as paths relative to the `subdir_name` location. - `install_dir`: the location to place the installed subdirectory. - `strip_directory`: install directory contents. `strip_directory=false` by default. + If `strip_directory=false` only last component of source path is used. Since 0.45.0 For a given directory `foo`: @@ -813,6 +814,13 @@ share/ file2 ``` +`install_subdir('foo/bar', install_dir : 'share', stripe_directory : false)` creates +``` +share/ + bar/ + file1 +``` + ### is_variable() ``` meson |