2020-06-18 00:30:40 +00:00
|
|
|
docs_kbase_files = [
|
|
|
|
'backing_chains',
|
2020-07-29 14:49:28 +00:00
|
|
|
'debuglogs',
|
2020-06-18 00:30:40 +00:00
|
|
|
'domainstatecapture',
|
|
|
|
'incrementalbackupinternals',
|
|
|
|
'kvm-realtime',
|
|
|
|
'launch_security_sev',
|
|
|
|
'locking-lockd',
|
|
|
|
'locking',
|
|
|
|
'locking-sanlock',
|
|
|
|
'migrationinternals',
|
|
|
|
'qemu-passthrough-security',
|
|
|
|
'rpm-deployment',
|
|
|
|
's390_protected_virt',
|
|
|
|
'secureusage',
|
2020-08-06 06:34:02 +00:00
|
|
|
'systemtap',
|
2020-06-18 00:30:40 +00:00
|
|
|
'virtiofs',
|
|
|
|
]
|
|
|
|
|
|
|
|
foreach name : docs_kbase_files
|
|
|
|
rst_file = '@0@.rst'.format(name)
|
|
|
|
html_file = '@0@.html'.format(name)
|
|
|
|
|
|
|
|
html_in = docs_rst2html_gen.process(rst_file)
|
|
|
|
|
2020-07-23 16:40:12 +00:00
|
|
|
out_file = custom_target(
|
2020-06-18 00:30:40 +00:00
|
|
|
html_file,
|
|
|
|
input: html_in,
|
|
|
|
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@',
|
2020-08-17 10:06:13 +00:00
|
|
|
'docs/kbase' / rst_file,
|
2020-06-18 00:30:40 +00:00
|
|
|
],
|
|
|
|
depends: [ aclperms_gen ],
|
|
|
|
depend_files: [ page_xsl ],
|
|
|
|
install: true,
|
|
|
|
install_dir: docs_html_dir / 'kbase',
|
|
|
|
)
|
2020-07-23 16:40:12 +00:00
|
|
|
|
|
|
|
install_web_deps += out_file
|
|
|
|
install_web_files += '@0@:@1@'.format(out_file.full_path(), docs_html_dir / 'kbase')
|
2020-06-18 00:30:40 +00:00
|
|
|
endforeach
|