# 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
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 \
--- /dev/null
+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
)
endforeach
+subdir('fonts')
+
# This hack enables us to view the web pages
# from within the uninstalled build tree