mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
af8611916a
With meson we have to use both env vars and wrapper script to run python with correct LANG settings. run_command() and test() have 'env' attribute so we can use it, but custom_target() doesn't support that attribute. Environment variables cannot by configured using 'command' because meson checks if the first item in the list is executable so we have to use a wrapper. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
31 lines
695 B
Meson
31 lines
695 B
Meson
scripts = [
|
|
'apibuild.py',
|
|
'augeas-gentest.py',
|
|
'check-aclperms.py',
|
|
'check-aclrules.py',
|
|
'check-driverimpls.py',
|
|
'check-drivername.py',
|
|
'check-file-access.py',
|
|
'check-remote-protocol.py',
|
|
'check-symfile.py',
|
|
'check-symsorting.py',
|
|
'dtrace2systemtap.py',
|
|
'esx_vi_generator.py',
|
|
'genaclperms.py',
|
|
'genpolkit.py',
|
|
'gensystemtap.py',
|
|
'group-qemu-caps.py',
|
|
'header-ifdef.py',
|
|
'hvsupport.py',
|
|
'hyperv_wmi_generator.py',
|
|
'meson-python.sh',
|
|
'mock-noinline.py',
|
|
'prohibit-duplicate-header.py',
|
|
'test-wrap-argv.py',
|
|
]
|
|
|
|
foreach name : scripts
|
|
sname = name.split('.')[0].underscorify()
|
|
set_variable('@0@_prog'.format(sname), find_program(name))
|
|
endforeach
|