meson.build 665 B

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