Meson is not told that the .x protocol files are an input for the
generator, so it doesn't know to setup a rebuild dependancy.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/access/meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/access/meson.build b/src/access/meson.build
index b23838a776..ff088024f6 100644
--- a/src/access/meson.build
+++ b/src/access/meson.build
@@ -34,6 +34,7 @@ foreach name : [ 'remote', 'qemu', 'lxc' ]
access_gen_headers += custom_target(
header_file,
+ input: protocol_file,
output: header_file,
command: [
gendispatch_prog, '--mode=aclheader', name, name.to_upper(),
protocol_file,
@@ -43,6 +44,7 @@ foreach name : [ 'remote', 'qemu', 'lxc' ]
access_gen_sources += custom_target(
source_file,
+ input: protocol_file,
output: source_file,
command: [
gendispatch_prog, '--mode=aclbody', name, name.to_upper(),
@@ -53,6 +55,7 @@ foreach name : [ 'remote', 'qemu', 'lxc' ]
access_gen_sym += custom_target(
syms_file,
+ input: protocol_file,
output: syms_file,
capture: true,
command: [
@@ -62,6 +65,7 @@ foreach name : [ 'remote', 'qemu', 'lxc' ]
access_gen_xml += custom_target(
xml_file,
+ input: protocol_file,
output: xml_file,
capture: true,
command: [
--
2.26.2