meson: add scripts directory

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
Pavel Hrdina 2020-06-18 00:53:18 +02:00
parent 30b301c6ea
commit 116f94913f
2 changed files with 34 additions and 0 deletions

View File

@ -635,6 +635,11 @@ libvirt_export_dynamic = cc.first_supported_link_argument([
top_inc_dir = include_directories('.')
# include remaining subdirs
subdir('scripts')
# generate meson-config.h file
configure_file(output: 'meson-config.h', configuration: conf)

29
scripts/meson.build Normal file
View File

@ -0,0 +1,29 @@
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',
'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