From e7d87b6f58c653c3962479f59867397ffc15c32f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 19 Jun 2022 16:04:48 -0400 Subject: 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. --- test cases/python/7 install path/structured/alpha/one.py | 0 test cases/python/7 install path/structured/alpha/three.py | 0 test cases/python/7 install path/structured/alpha/two.py | 0 test cases/python/7 install path/structured/beta/one.py | 0 test cases/python/7 install path/structured/meson.build | 9 +++++++++ test cases/python/7 install path/structured/one.py | 0 test cases/python/7 install path/structured/two.py | 0 7 files changed, 9 insertions(+) create mode 100644 test cases/python/7 install path/structured/alpha/one.py create mode 100644 test cases/python/7 install path/structured/alpha/three.py create mode 100644 test cases/python/7 install path/structured/alpha/two.py create mode 100644 test cases/python/7 install path/structured/beta/one.py create mode 100644 test cases/python/7 install path/structured/meson.build create mode 100644 test cases/python/7 install path/structured/one.py create mode 100644 test cases/python/7 install path/structured/two.py (limited to 'test cases/python/7 install path/structured') 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 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 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 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 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 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 -- cgit v1.2.3