mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
meson: build texi doc
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bac35bf517
commit
acfdaac577
6 changed files with 104 additions and 105 deletions
|
@ -1,7 +1,6 @@
|
|||
qga_qapi_outputs = [
|
||||
'qga-qapi-commands.c',
|
||||
'qga-qapi-commands.h',
|
||||
'qga-qapi-doc.texi',
|
||||
'qga-qapi-emit-events.c',
|
||||
'qga-qapi-emit-events.h',
|
||||
'qga-qapi-events.c',
|
||||
|
@ -17,12 +16,19 @@ qga_qapi_outputs = [
|
|||
]
|
||||
|
||||
qga_qapi_files = custom_target('QGA QAPI files',
|
||||
output: qga_qapi_outputs,
|
||||
output: qga_qapi_outputs + ['qga-qapi-doc.texi'],
|
||||
input: 'qapi-schema.json',
|
||||
command: [ qapi_gen, '-o', 'qga', '-p', 'qga-', '@INPUT0@' ],
|
||||
depend_files: qapi_gen_depends)
|
||||
|
||||
qga_ss = ss.source_set()
|
||||
qga_ss.add(qga_qapi_files)
|
||||
i = 0
|
||||
foreach output: qga_qapi_outputs
|
||||
qga_ss.add(qga_qapi_files[i])
|
||||
i = i + 1
|
||||
endforeach
|
||||
qga_qapi_doc_texi = qga_qapi_files[i]
|
||||
|
||||
qga_ss.add(files(
|
||||
'commands.c',
|
||||
'guest-agent-command-state.c',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue