mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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:
parent
c0d2d071df
commit
c377c14639
@ -46,10 +46,6 @@ vpathhack:
|
|||||||
do \
|
do \
|
||||||
test -e $$dir || ln -s $(srcdir)/$$dir $$dir ; \
|
test -e $$dir || ln -s $(srcdir)/$$dir $$dir ; \
|
||||||
done
|
done
|
||||||
@for file in $(assets); \
|
|
||||||
do \
|
|
||||||
test -e $$file || ln -s $(srcdir)/$$file $$file ; \
|
|
||||||
done
|
|
||||||
|
|
||||||
apihtml = \
|
apihtml = \
|
||||||
html/index.html \
|
html/index.html \
|
||||||
|
@ -287,3 +287,10 @@ foreach data : docs_html_in_gen
|
|||||||
install_dir: docs_html_dir,
|
install_dir: docs_html_dir,
|
||||||
)
|
)
|
||||||
endforeach
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user