mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-10 07:20:02 +00:00
93030fa381
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
25 lines
621 B
Meson
25 lines
621 B
Meson
docs_css_files = [
|
|
'fonts.css',
|
|
'generic.css',
|
|
'libvirt.css',
|
|
'libvirt-api.css',
|
|
'libvirt-template.css',
|
|
'main.css',
|
|
'mobile-template.css',
|
|
'mobile-libvirt.css',
|
|
]
|
|
|
|
install_data(docs_css_files, install_dir: docs_html_dir / 'css')
|
|
|
|
foreach file : docs_css_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 / 'css')
|
|
endforeach
|