8c1d441916
Shell Toolbox has been replaced by the Go implementation a quite while ago. It is kept in the repository but is no longer actively developed. There is no need to continue checking it with ShellCheck. https://github.com/containers/toolbox/pull/733
43 lines
1 KiB
Meson
43 lines
1 KiB
Meson
project(
|
|
'toolbox',
|
|
'c',
|
|
version: '0.0.99.1',
|
|
license: 'ASL 2.0',
|
|
meson_version: '>= 0.40.0',
|
|
)
|
|
|
|
cc = meson.get_compiler('c')
|
|
add_project_arguments('-pthread', language: 'c')
|
|
add_project_link_arguments('-pthread', language: 'c')
|
|
|
|
go = find_program('go')
|
|
go_md2man = find_program('go-md2man')
|
|
shellcheck = find_program('shellcheck', required: false)
|
|
skopeo = find_program('skopeo', required: false)
|
|
|
|
systemd_dep = dependency('systemd')
|
|
bash_completion = dependency('bash-completion', required: false)
|
|
|
|
profiledir = get_option('profile_dir')
|
|
tmpfilesdir = systemd_dep.get_pkgconfig_variable('tmpfilesdir')
|
|
|
|
if bash_completion.found()
|
|
install_data(
|
|
'completion/bash/toolbox',
|
|
install_dir: bash_completion.get_pkgconfig_variable('completionsdir')
|
|
)
|
|
endif
|
|
|
|
if not skopeo.found()
|
|
message('Running system tests requires Skopeo for OCI image manipulation.')
|
|
endif
|
|
|
|
install_subdir(
|
|
'test',
|
|
install_dir: join_paths(get_option('datadir'), meson.project_name())
|
|
)
|
|
|
|
subdir('data')
|
|
subdir('doc')
|
|
subdir('profile.d')
|
|
subdir('src')
|