mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
Only by building and sharing the documents we will be able to get them up to date. Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
21 lines
721 B
Meson
21 lines
721 B
Meson
asciidoc_files = ['spice_for_newbies',
|
|
'spice_protocol',
|
|
'spice_style',
|
|
'spice_threading_model',
|
|
'vd_interfaces']
|
|
|
|
if get_option('manual')
|
|
asciidoc = find_program('asciidoc', required : false)
|
|
if asciidoc.found()
|
|
asciidoc_args = ['-a', 'data-uri', '-a', 'icons', '-a', 'toc']
|
|
foreach doc : asciidoc_files
|
|
custom_target('@0@.html'.format(doc),
|
|
input : '@0@.txt'.format(doc),
|
|
output : '@0@.html'.format(doc),
|
|
build_by_default: true,
|
|
command : [asciidoc, '-n', asciidoc_args, '-o', '@OUTPUT@', '@INPUT@'])
|
|
endforeach
|
|
endif
|
|
subdir('manual')
|
|
endif
|