mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
meson: docs/js: install javascript 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
a1492052d6
commit
c22f8975f4
@ -21,18 +21,11 @@ all: vpathhack
|
|||||||
# This hack enables us to view the web pages
|
# This hack enables us to view the web pages
|
||||||
# from within the uninstalled build tree
|
# from within the uninstalled build tree
|
||||||
vpathhack:
|
vpathhack:
|
||||||
@for dir in js logos; \
|
@for dir in logos; \
|
||||||
do \
|
do \
|
||||||
test -e $$dir || ln -s $(srcdir)/$$dir $$dir ; \
|
test -e $$dir || ln -s $(srcdir)/$$dir $$dir ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
javascript = \
|
|
||||||
js/main.js \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
javascriptdir = $(HTML_DIR)/js
|
|
||||||
javascript_DATA = $(javascript)
|
|
||||||
|
|
||||||
logofiles = \
|
logofiles = \
|
||||||
logos/logo-base.svg \
|
logos/logo-base.svg \
|
||||||
logos/logo-square.svg \
|
logos/logo-square.svg \
|
||||||
|
11
docs/js/meson.build
Normal file
11
docs/js/meson.build
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
docs_js_files = [
|
||||||
|
'main.js',
|
||||||
|
]
|
||||||
|
|
||||||
|
install_data(docs_js_files, install_dir: docs_html_dir / 'js')
|
||||||
|
|
||||||
|
# This hack enables us to view the web pages
|
||||||
|
# from within the uninstalled build tree
|
||||||
|
foreach file : docs_js_files
|
||||||
|
configure_file(input: file, output: file, copy: true)
|
||||||
|
endforeach
|
@ -294,6 +294,7 @@ endforeach
|
|||||||
subdir('fonts')
|
subdir('fonts')
|
||||||
subdir('html')
|
subdir('html')
|
||||||
subdir('internals')
|
subdir('internals')
|
||||||
|
subdir('js')
|
||||||
|
|
||||||
|
|
||||||
# This hack enables us to view the web pages
|
# This hack enables us to view the web pages
|
||||||
|
Loading…
Reference in New Issue
Block a user