libvirt/docs/css/meson.build
Peter Krempa 93030fa381 css: Move styles for the generated API documents to libvirt-api.css
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-02-08 16:48:47 +01:00

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