mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
meson: docs/internals: build html 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
91c1d8e047
commit
a1492052d6
@ -55,19 +55,6 @@ logofiles = \
|
||||
logofilesdir = $(HTML_DIR)/logos
|
||||
logofiles_DATA = $(logofiles)
|
||||
|
||||
internals_html_in = \
|
||||
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.html.in))
|
||||
internals_rst = \
|
||||
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.rst))
|
||||
internals_rst_html_in = \
|
||||
$(internals_rst:%.rst=%.html.in)
|
||||
internals_html = \
|
||||
$(internals_html_in:%.html.in=%.html) \
|
||||
$(internals_rst_html_in:%.html.in=%.html)
|
||||
|
||||
internalsdir = $(HTML_DIR)/internals
|
||||
internals_DATA = $(internals_html)
|
||||
|
||||
kbase_html_in = \
|
||||
$(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/kbase/*.html.in))
|
||||
kbase_rst = \
|
||||
|
34
docs/internals/meson.build
Normal file
34
docs/internals/meson.build
Normal file
@ -0,0 +1,34 @@
|
||||
internals_in_files = [
|
||||
'command',
|
||||
'eventloop',
|
||||
'locking',
|
||||
'rpc',
|
||||
]
|
||||
|
||||
foreach name : internals_in_files
|
||||
html_in_file = '@0@.html.in'.format(name)
|
||||
html_file = '@0@.html'.format(name)
|
||||
|
||||
custom_target(
|
||||
html_file,
|
||||
input: html_in_file,
|
||||
output: html_file,
|
||||
command: [
|
||||
meson_python_prog,
|
||||
python3_prog.path(),
|
||||
meson_html_gen_prog.path(),
|
||||
xsltproc_prog.path(),
|
||||
xmllint_prog.path(),
|
||||
meson.build_root(),
|
||||
docs_timestamp,
|
||||
subsite_xsl,
|
||||
'@INPUT@',
|
||||
'@OUTPUT@',
|
||||
'internals' / html_in_file,
|
||||
],
|
||||
depends: [ aclperms_gen ],
|
||||
depend_files: [ page_xsl ],
|
||||
install: true,
|
||||
install_dir: docs_html_dir / 'internals',
|
||||
)
|
||||
endforeach
|
@ -293,6 +293,7 @@ endforeach
|
||||
|
||||
subdir('fonts')
|
||||
subdir('html')
|
||||
subdir('internals')
|
||||
|
||||
|
||||
# This hack enables us to view the web pages
|
||||
|
Loading…
Reference in New Issue
Block a user