meson.build 439 B

1234567891011121314
  1. project('install a whole subdir', 'c')
  2. # A subdir with an exclusion:
  3. install_subdir('sub2',
  4. exclude_files : ['excluded-three.dat'],
  5. exclude_directories : ['excluded'],
  6. install_dir : 'share')
  7. subdir('subdir')
  8. # A subdir with write perms only for the owner
  9. # and read-list perms for owner and group
  10. install_subdir('sub1', install_dir : 'share', install_mode : ['rwxr-x--t', 'root'])
  11. install_subdir('sub/sub1', install_dir : 'share')