mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-25 21:19:07 +00:00
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
13 lines
468 B
Meson
13 lines
468 B
Meson
if get_option('manual')
|
|
asciidoc = find_program('asciidoc', required : false)
|
|
if asciidoc.found()
|
|
foreach f: ['spice_protocol.txt', 'spice_uri_scheme.txt']
|
|
custom_target('HTML for @0@'.format(f),
|
|
input : f,
|
|
output : '@BASENAME@.html',
|
|
build_by_default : true,
|
|
command : [asciidoc, '-n', '-a', 'icons', '-a', 'toc', '-o', '@OUTPUT@', '@INPUT@'])
|
|
endforeach
|
|
endif
|
|
endif
|