aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/26 install umask/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/26 install umask/meson.build')
-rw-r--r--meson/test cases/unit/26 install umask/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/unit/26 install umask/meson.build b/meson/test cases/unit/26 install umask/meson.build
new file mode 100644
index 000000000..225f71c67
--- /dev/null
+++ b/meson/test cases/unit/26 install umask/meson.build
@@ -0,0 +1,7 @@
+project('install umask', 'c')
+executable('prog', 'prog.c', install : true)
+install_headers('sample.h')
+install_man('prog.1')
+install_data('datafile.cat', install_dir : get_option('prefix') + '/share')
+install_subdir('subdir', install_dir : get_option('prefix') + '/share')
+meson.add_install_script('myinstall.py', 'share', 'file.dat')