aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-19 16:04:48 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-07-08 01:58:23 -0400
commite7d87b6f58c653c3962479f59867397ffc15c32f (patch)
tree61e39ad22650fbe94d5bdb9c9b2edd263aa14dc3 /docs/markdown/snippets
parentb89451847af56dc5f224a0e09605ad965d58aabe (diff)
downloadmeson-e7d87b6f58c653c3962479f59867397ffc15c32f.zip
meson-e7d87b6f58c653c3962479f59867397ffc15c32f.tar.gz
meson-e7d87b6f58c653c3962479f59867397ffc15c32f.tar.bz2
implement the new preserve_path kwarg for install_data too
Primarily interesting to me because it is then available for the python module's install_sources method. Based on the new feature in install_headers.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/install_sources_preserve_path_arg.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/snippets/install_sources_preserve_path_arg.md b/docs/markdown/snippets/install_sources_preserve_path_arg.md
new file mode 100644
index 0000000..0bc37f2
--- /dev/null
+++ b/docs/markdown/snippets/install_sources_preserve_path_arg.md
@@ -0,0 +1,8 @@
+## Added preserve_path arg to install_data
+
+The [[install_data]] function now has an optional argument `preserve_path`
+that allows installing multi-directory data file structures that live
+alongside source code with a single command.
+
+This is also available in the specialized `py_installation.install_sources`
+method.