aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/9 header install/vanishing_subdir
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/9 header install/vanishing_subdir')
-rw-r--r--meson/test cases/common/9 header install/vanishing_subdir/meson.build1
-rw-r--r--meson/test cases/common/9 header install/vanishing_subdir/vanished.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/common/9 header install/vanishing_subdir/meson.build b/meson/test cases/common/9 header install/vanishing_subdir/meson.build
new file mode 100644
index 000000000..a81626c6c
--- /dev/null
+++ b/meson/test cases/common/9 header install/vanishing_subdir/meson.build
@@ -0,0 +1 @@
+install_headers('vanished.h')
diff --git a/meson/test cases/common/9 header install/vanishing_subdir/vanished.h b/meson/test cases/common/9 header install/vanishing_subdir/vanished.h
new file mode 100644
index 000000000..ed7971b88
--- /dev/null
+++ b/meson/test cases/common/9 header install/vanishing_subdir/vanished.h
@@ -0,0 +1,5 @@
+#pragma once
+
+/* This is a header in a subdirectory. Make sure it installs into
+ * /prefix/include and not /prefix/include/vanishing_subdir.
+ */