Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
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 d1237c10875..8c6db66a07f 100644
--- a/meson.build
+++ b/meson.build
@@ -622,6 +622,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 00000000000..941e40a0917
--- /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(a)_prog'.format(sname), find_program(name))
+endforeach
--
2.26.2