mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
753a6add46
In order to promote simple assets sharing between main libvirt web and the libvirt-wiki separate the virt tools blog feed loader from the main code used for search. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
19 lines
501 B
Meson
19 lines
501 B
Meson
docs_js_files = [
|
|
'main.js',
|
|
'virt-tools-blog-planet.js',
|
|
]
|
|
|
|
install_data(docs_js_files, install_dir: docs_html_dir / 'js')
|
|
|
|
foreach file : docs_js_files
|
|
# This hack enables us to view the web pages
|
|
# from within the uninstalled build tree
|
|
if meson.version().version_compare('>=0.64.0')
|
|
fs.copyfile(file)
|
|
else
|
|
configure_file(input: file, output: file, copy: true)
|
|
endif
|
|
|
|
install_web_files += '@0@:@1@'.format(meson.current_source_dir() / file, docs_html_dir / 'js')
|
|
endforeach
|