mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 07:36:19 +00:00
bb11ca5199
Commit 862cf2ace4
modified the generator
to base edit links in the root of the repository but forgot to add the
'docs/' prefix to the code generating kbase articles, manpages and the
internals documentation.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
38 lines
854 B
Meson
38 lines
854 B
Meson
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)
|
|
|
|
out_file = 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@',
|
|
'docs/internals' / html_in_file,
|
|
],
|
|
depends: [ aclperms_gen ],
|
|
depend_files: [ page_xsl ],
|
|
install: true,
|
|
install_dir: docs_html_dir / 'internals',
|
|
)
|
|
|
|
install_web_deps += out_file
|
|
install_web_files += '@0@:@1@'.format(out_file.full_path(), docs_html_dir / 'internals')
|
|
endforeach
|