mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
5dfc6e4e47
Separate the styles related to the main page template and the build process specifics (docutils-originated) into a separate CSS file. Hint: Best viewed with 'git show --color-moved=blocks' Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
24 lines
600 B
Meson
24 lines
600 B
Meson
docs_css_files = [
|
|
'fonts.css',
|
|
'generic.css',
|
|
'libvirt.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
|