aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/59 install subdir/subdir
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/59 install subdir/subdir')
-rw-r--r--meson/test cases/common/59 install subdir/subdir/meson.build5
-rw-r--r--meson/test cases/common/59 install subdir/subdir/sub1/data1.dat1
-rw-r--r--meson/test cases/common/59 install subdir/subdir/sub1/sub2/data2.dat1
-rw-r--r--meson/test cases/common/59 install subdir/subdir/sub_elided/dircheck/seventh.dat1
-rw-r--r--meson/test cases/common/59 install subdir/subdir/sub_elided/sixth.dat1
5 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/common/59 install subdir/subdir/meson.build b/meson/test cases/common/59 install subdir/subdir/meson.build
new file mode 100644
index 000000000..0f81cdb8f
--- /dev/null
+++ b/meson/test cases/common/59 install subdir/subdir/meson.build
@@ -0,0 +1,5 @@
+install_subdir('sub1', install_dir : 'share',
+ # This mode will be overridden by the mode set in the outer install_subdir
+ install_mode : 'rwxr-x---')
+
+install_subdir('sub_elided', install_dir : 'share', strip_directory : true)
diff --git a/meson/test cases/common/59 install subdir/subdir/sub1/data1.dat b/meson/test cases/common/59 install subdir/subdir/sub1/data1.dat
new file mode 100644
index 000000000..d83c370e3
--- /dev/null
+++ b/meson/test cases/common/59 install subdir/subdir/sub1/data1.dat
@@ -0,0 +1 @@
+This is a data file in a subdir.
diff --git a/meson/test cases/common/59 install subdir/subdir/sub1/sub2/data2.dat b/meson/test cases/common/59 install subdir/subdir/sub1/sub2/data2.dat
new file mode 100644
index 000000000..8ce1392b0
--- /dev/null
+++ b/meson/test cases/common/59 install subdir/subdir/sub1/sub2/data2.dat
@@ -0,0 +1 @@
+This is a data file in a deeper subdir.
diff --git a/meson/test cases/common/59 install subdir/subdir/sub_elided/dircheck/seventh.dat b/meson/test cases/common/59 install subdir/subdir/sub_elided/dircheck/seventh.dat
new file mode 100644
index 000000000..ea0b8dc5c
--- /dev/null
+++ b/meson/test cases/common/59 install subdir/subdir/sub_elided/dircheck/seventh.dat
@@ -0,0 +1 @@
+Nested file in a subdir.
diff --git a/meson/test cases/common/59 install subdir/subdir/sub_elided/sixth.dat b/meson/test cases/common/59 install subdir/subdir/sub_elided/sixth.dat
new file mode 100644
index 000000000..140f07560
--- /dev/null
+++ b/meson/test cases/common/59 install subdir/subdir/sub_elided/sixth.dat
@@ -0,0 +1 @@
+Elide test file in a subdir.