meson.build 622 B

123456789101112131415161718192021
  1. project('Universal Source Manifest', 'vala', 'c', version: '0.1')
  2. vapi_dir = meson.current_source_dir() / 'vapi'
  3. # The SPM helpers live outside the source root; copying them in keeps the
  4. # install declarative and preserves the executable bit via install_mode
  5. spm_shims = []
  6. foreach shim : ['dnf', 'apt', 'apk', 'emerge']
  7. spm_shims += configure_file(
  8. input: '../spm' / shim / ('usm-spm-' + shim),
  9. output: 'usm-spm-' + shim,
  10. copy: true,
  11. )
  12. endforeach
  13. install_data(spm_shims,
  14. install_dir: get_option('bindir'),
  15. install_mode: 'rwxr-xr-x',
  16. )
  17. subdir('lib')
  18. subdir('cli')
  19. subdir('tests')