meson: docs: copy asset data to build dir

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-08-03 09:27:06 +02:00
parent c0d2d071df
commit c377c14639
2 changed files with 7 additions and 4 deletions
+7
View File
@@ -287,3 +287,10 @@ foreach data : docs_html_in_gen
install_dir: docs_html_dir,
)
endforeach
# This hack enables us to view the web pages
# from within the uninstalled build tree
foreach file : docs_assets
configure_file(input: file, output: file, copy: true)
endforeach