project('install a whole subdir', 'c') subdir('subdir') install_subdir('sub1', install_dir : 'share') install_subdir('sub/sub1', install_dir : 'share')