1project('custom install dirs', 'c')
2executable('prog', 'prog.c', install : true, install_dir : 'dib/dab/dub')
3executable('prog2', 'prog.c', install : true, install_dir : get_option('prefix') + '/dib/dab/dub2')
4install_headers('sample.h', install_dir : 'some/dir')
5install_headers('sample.h', install_dir : get_option('prefix') + '/some/dir2')
6install_man('prog.1', install_dir : 'woman')
7install_man('prog.1', install_dir : get_option('prefix') + '/woman2')
8install_data('datafile.cat', install_dir : 'meow')
9install_data('datafile.cat', install_dir : get_option('prefix') + '/meow2')
10install_subdir('subdir', install_dir : 'woof')
11install_subdir('subdir', install_dir : get_option('prefix') + '/woof2')
12