Files
libvirt/docs/css/meson.build
T
Peter Krempa 071d29b726 docs: css: Split out any main-page CSS to local.css
Our other sub-projects such as the libvirt-wiki and soon also the
libvirt-security-notices will use the same CSS via asset import script.

Move any specifics into 'local.css' which will be defined by the
sub-projects so that 'main.css' can be imported directly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2025-11-24 16:40:24 +01:00

26 lines
636 B
Meson

docs_css_files = [
'fonts.css',
'generic.css',
'libvirt.css',
'libvirt-api.css',
'libvirt-template.css',
'local.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