From: Pavel Hrdina Date: Wed, 17 Jun 2020 22:53:18 +0000 (+0200) Subject: meson: add scripts directory X-Git-Tag: v6.7.0-rc1~581 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=116f94913f4ca836e64bb718ac6fc31d8f7a83a7;p=thirdparty%2Flibvirt.git meson: add scripts directory Signed-off-by: Pavel Hrdina Reviewed-by: Peter Krempa Reviewed-by: Neal Gompa --- 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