project('Universal Source Manifest', 'vala', 'c', version: '0.1') vapi_dir = meson.current_source_dir() / 'vapi' # The SPM helpers live outside the source root; copying them in keeps the # install declarative and preserves the executable bit via install_mode spm_shims = [] foreach shim : ['dnf', 'apt', 'apk', 'emerge'] spm_shims += configure_file( input: '../spm' / shim / ('usm-spm-' + shim), output: 'usm-spm-' + shim, copy: true, ) endforeach install_data(spm_shims, install_dir: get_option('bindir'), install_mode: 'rwxr-xr-x', ) subdir('lib') subdir('cli') subdir('tests')