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