From 116f94913f4ca836e64bb718ac6fc31d8f7a83a7 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Thu, 18 Jun 2020 00:53:18 +0200 Subject: [PATCH] meson: add scripts directory Signed-off-by: Pavel Hrdina Reviewed-by: Peter Krempa Reviewed-by: Neal Gompa --- meson.build | 5 +++++ scripts/meson.build | 29 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 scripts/meson.build diff --git a/meson.build b/meson.build index 70521d40df..f0d5599958 100644 --- a/meson.build +++ b/meson.build @@ -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) diff --git a/scripts/meson.build b/scripts/meson.build new file mode 100644 index 0000000000..941e40a091 --- /dev/null +++ b/scripts/meson.build @@ -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