]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: add scripts directory
authorPavel Hrdina <phrdina@redhat.com>
Wed, 17 Jun 2020 22:53:18 +0000 (00:53 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 3 Aug 2020 07:26:59 +0000 (09:26 +0200)
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
meson.build
scripts/meson.build [new file with mode: 0644]

index 70521d40df9f8964becb30a40917e605e54bbc22..f0d5599958e28a7c3189e3a6b7629292bbe44173 100644 (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)
 
diff --git a/scripts/meson.build b/scripts/meson.build
new file mode 100644 (file)
index 0000000..941e40a
--- /dev/null
@@ -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