Debian Codegraph @

doc/mwg/html/meson.build

raw
1 # -*- mode: meson -*-
2
3 html = custom_target(
4 input: xml,
5 output: name + '.html',
6 command: [
7 prog_xsltproc,
8 '--nonet',
9 '--xinclude',
10 '--stringparam', 'base.dir', meson.current_build_dir(),
11 '--stringparam', 'root.filename', name,
12 '--stringparam', 'use.id.as.filename', '1',
13 '--stringparam', 'chunk.first.sections', '1',
14 '--stringparam', 'section.autolabel', '1',
15 '--stringparam', 'section.label.includes.component.label', '1',
16 '--stringparam', 'toc.max.depth', toc_max_depth,
17 '--stringparam', 'chunker.output.encoding', 'UTF-8',
18 html_stylesheet,
19 '@INPUT@',
20 ],
21 install: true,
22 install_dir: htmldir,
23 install_tag: 'doc',
24 )
25
26 meson.add_install_script(
27 install_html,
28 meson.current_build_dir(),
29 htmldir,
30 html,
31 install_tag: 'doc',
32 )