aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/45 custom install dirs/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/45 custom install dirs/meson.build')
-rw-r--r--meson/test cases/common/45 custom install dirs/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/common/45 custom install dirs/meson.build b/meson/test cases/common/45 custom install dirs/meson.build
new file mode 100644
index 000000000..494ff0ec2
--- /dev/null
+++ b/meson/test cases/common/45 custom install dirs/meson.build
@@ -0,0 +1,11 @@
+project('custom install dirs', 'c')
+executable('prog', 'prog.c', install : true, install_dir : 'dib/dab/dub')
+executable('prog2', 'prog.c', install : true, install_dir : get_option('prefix') + '/dib/dab/dub2')
+install_headers('sample.h', install_dir : 'some/dir')
+install_headers('sample.h', install_dir : get_option('prefix') + '/some/dir2')
+install_man('prog.1', install_dir : 'woman')
+install_man('prog.1', install_dir : get_option('prefix') + '/woman2')
+install_data('datafile.cat', install_dir : 'meow')
+install_data('datafile.cat', install_dir : get_option('prefix') + '/meow2')
+install_subdir('subdir', install_dir : 'woof')
+install_subdir('subdir', install_dir : get_option('prefix') + '/woof2')