summaryrefslogtreecommitdiffstats
path: root/test cases/common/45 custom install dirs/meson.build
blob: 494ff0ec2a924fda623739f0993964a38f387a8c (plain)
1
2
3
4
5
6
7
8
9
10
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')