meson: Improve gdbus-codegen custom target dependencies

Ensure that the custom targets that use gdbus-codegen get rebuilt when
any of the gdbus-codegen files are changed.

https://bugzilla.gnome.org/show_bug.cgi?id=752239
This commit is contained in:
Nirbheek Chauhan
2017-10-11 16:06:58 +05:30
parent 17e29bebd9
commit b444ae0de2
3 changed files with 13 additions and 10 deletions

View File

@@ -146,6 +146,7 @@ if host_machine.system() != 'windows'
input : ['test-codegen.xml'],
output : ['gdbus-test-codegen-generated.h',
'gdbus-test-codegen-generated.c'],
depend_files : gdbus_codegen_built_files,
command : [python, gdbus_codegen,
'--interface-prefix', 'org.project.',
'--output-directory', '@OUTDIR@',