From: Pavel Hrdina Date: Thu, 18 Jun 2020 00:27:09 +0000 (+0200) Subject: meson: docs: copy asset data to build dir X-Git-Tag: v6.7.0-rc1~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c377c14639b08e5552e6cca6e6c0f606b0be3bd1;p=thirdparty%2Flibvirt.git meson: docs: copy asset data to build dir Signed-off-by: Pavel Hrdina Reviewed-by: Peter Krempa Reviewed-by: Neal Gompa --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 1a5ae23b0a..ae504358d2 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -46,10 +46,6 @@ vpathhack: do \ test -e $$dir || ln -s $(srcdir)/$$dir $$dir ; \ done - @for file in $(assets); \ - do \ - test -e $$file || ln -s $(srcdir)/$$file $$file ; \ - done apihtml = \ html/index.html \ diff --git a/docs/meson.build b/docs/meson.build index d86d9c6c1d..09bf436a46 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -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