meson: add rule to build and install only web documentation

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
Pavel Hrdina
2020-07-23 18:40:12 +02:00
parent 18c729d83f
commit 70629df0c2
10 changed files with 67 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ foreach name : docs_kbase_files
html_in = docs_rst2html_gen.process(rst_file)
custom_target(
out_file = custom_target(
html_file,
input: html_in,
output: html_file,
@@ -43,4 +43,7 @@ foreach name : docs_kbase_files
install: true,
install_dir: docs_html_dir / 'kbase',
)
install_web_deps += out_file
install_web_files += '@0@:@1@'.format(out_file.full_path(), docs_html_dir / 'kbase')
endforeach