summaryrefslogtreecommitdiff
path: root/test cases/python/7 install path/structured
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 /test cases/python/7 install path/structured
parentb89451847af56dc5f224a0e09605ad965d58aabe (diff)
downloadmeson-e7d87b6f58c653c3962479f59867397ffc15c32f.tar.gz
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 'test cases/python/7 install path/structured')
-rw-r--r--test cases/python/7 install path/structured/alpha/one.py0
-rw-r--r--test cases/python/7 install path/structured/alpha/three.py0
-rw-r--r--test cases/python/7 install path/structured/alpha/two.py0
-rw-r--r--test cases/python/7 install path/structured/beta/one.py0
-rw-r--r--test cases/python/7 install path/structured/meson.build9
-rw-r--r--test cases/python/7 install path/structured/one.py0
-rw-r--r--test cases/python/7 install path/structured/two.py0
7 files changed, 9 insertions, 0 deletions
diff --git a/test cases/python/7 install path/structured/alpha/one.py b/test cases/python/7 install path/structured/alpha/one.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test cases/python/7 install path/structured/alpha/one.py
diff --git a/test cases/python/7 install path/structured/alpha/three.py b/test cases/python/7 install path/structured/alpha/three.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test cases/python/7 install path/structured/alpha/three.py
diff --git a/test cases/python/7 install path/structured/alpha/two.py b/test cases/python/7 install path/structured/alpha/two.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test cases/python/7 install path/structured/alpha/two.py
diff --git a/test cases/python/7 install path/structured/beta/one.py b/test cases/python/7 install path/structured/beta/one.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test cases/python/7 install path/structured/beta/one.py
diff --git a/test cases/python/7 install path/structured/meson.build b/test cases/python/7 install path/structured/meson.build
new file mode 100644
index 000000000..6c8558799
--- /dev/null
+++ b/test cases/python/7 install path/structured/meson.build
@@ -0,0 +1,9 @@
+py.install_sources(
+ 'one.py',
+ 'two.py',
+ 'alpha/one.py',
+ 'alpha/two.py',
+ 'alpha/three.py',
+ 'beta/one.py',
+ preserve_path: true,
+)
diff --git a/test cases/python/7 install path/structured/one.py b/test cases/python/7 install path/structured/one.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test cases/python/7 install path/structured/one.py
diff --git a/test cases/python/7 install path/structured/two.py b/test cases/python/7 install path/structured/two.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/test cases/python/7 install path/structured/two.py