trace: add meson custom_target() depend_files for tracetool
commit0572d6cd29d6434de166ce67a29fc8ff64777218
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 25 Jan 2021 11:09:58 +0000 (25 11:09 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 1 Feb 2021 10:50:55 +0000 (1 10:50 +0000)
treed5a72da031d632efd582bc5e9acbb0f2167e0e44
parent09612de7e9adbe9666a8fa4cc60bab0a29a68ed1
trace: add meson custom_target() depend_files for tracetool

Re-generate tracetool output when the tracetool source code changes. Use
the same approach as qapi_gen_depends and introduce a tracetool_depends
files list so meson is aware of the dependencies.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20210125110958.214017-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
meson.build
trace/meson.build