input: data['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,
+ xsltproc_prog,
+ '--stringparam', 'pagesrc', data.get('source', ''),
+ '--stringparam', 'builddir', meson.build_root(),
+ '--stringparam', 'timestamp', docs_timestamp,
+ '--nonet',
site_xsl,
'@INPUT@',
- '@OUTPUT@',
- data.get('source', []),
],
depends: data.get('depends', []),
depend_files: [ page_xsl ],
+ capture: true,
install: true,
install_dir: docs_html_dir,
)