mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
meson: docs/fonts: install font files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
c377c14639
commit
033e016843
@ -42,7 +42,7 @@ all: vpathhack
|
||||
# This hack enables us to view the web pages
|
||||
# from within the uninstalled build tree
|
||||
vpathhack:
|
||||
@for dir in fonts js logos; \
|
||||
@for dir in js logos; \
|
||||
do \
|
||||
test -e $$dir || ln -s $(srcdir)/$$dir $$dir ; \
|
||||
done
|
||||
@ -95,23 +95,6 @@ javascript = \
|
||||
javascriptdir = $(HTML_DIR)/js
|
||||
javascript_DATA = $(javascript)
|
||||
|
||||
fonts = \
|
||||
fonts/LICENSE.rst \
|
||||
fonts/stylesheet.css \
|
||||
fonts/overpass-bold-italic.woff \
|
||||
fonts/overpass-bold.woff \
|
||||
fonts/overpass-italic.woff \
|
||||
fonts/overpass-light-italic.woff \
|
||||
fonts/overpass-light.woff \
|
||||
fonts/overpass-mono-bold.woff \
|
||||
fonts/overpass-mono-light.woff \
|
||||
fonts/overpass-mono-regular.woff \
|
||||
fonts/overpass-mono-semibold.woff \
|
||||
fonts/overpass-regular.woff
|
||||
|
||||
fontsdir = $(HTML_DIR)/fonts
|
||||
fonts_DATA = $(fonts)
|
||||
|
||||
logofiles = \
|
||||
logos/logo-base.svg \
|
||||
logos/logo-square.svg \
|
||||
|
22
docs/fonts/meson.build
Normal file
22
docs/fonts/meson.build
Normal file
@ -0,0 +1,22 @@
|
||||
fonts = [
|
||||
'LICENSE.rst',
|
||||
'stylesheet.css',
|
||||
'overpass-bold-italic.woff',
|
||||
'overpass-bold.woff',
|
||||
'overpass-italic.woff',
|
||||
'overpass-light-italic.woff',
|
||||
'overpass-light.woff',
|
||||
'overpass-mono-bold.woff',
|
||||
'overpass-mono-light.woff',
|
||||
'overpass-mono-regular.woff',
|
||||
'overpass-mono-semibold.woff',
|
||||
'overpass-regular.woff',
|
||||
]
|
||||
|
||||
install_data(fonts, install_dir: docs_html_dir / 'fonts')
|
||||
|
||||
# This hack enables us to view the web pages
|
||||
# from within the uninstalled build tree
|
||||
foreach file : fonts
|
||||
configure_file(input: file, output: file, copy: true)
|
||||
endforeach
|
@ -288,6 +288,8 @@ foreach data : docs_html_in_gen
|
||||
)
|
||||
endforeach
|
||||
|
||||
subdir('fonts')
|
||||
|
||||
|
||||
# This hack enables us to view the web pages
|
||||
# from within the uninstalled build tree
|
||||
|
Loading…
Reference in New Issue
Block a user