xref: /aosp_15_r20/external/wayland/doc/publican/meson.build (revision 84e872a0dc482bffdb63672969dd03a827d67c73)
1merge_mapcoords_xsl = files('merge-mapcoords.xsl')
2
3subdir('sources')
4
5custom_target(
6	'Wayland-docbook-html',
7	command: [
8		xmlto,
9		'--skip-validation',
10		'--stringparam', 'chunker.output.encoding=UTF-8',
11		'--stringparam', 'chunk.section.depth=0',
12		'--stringparam', 'toc.section.depth=1',
13		'--stringparam', 'generate.consistent.ids=1',
14		'--stringparam', 'html.stylesheet=css/default.css',
15		'-o', '@OUTPUT@',
16		'html',
17		'@INPUT@'
18	],
19	input: publican_processed_main,
20	output: publican_html_dir,
21	depend_files: publican_copied_sources,
22	depends: [
23		publican_processed_targets,
24		ClientAPI_xml,
25		ServerAPI_xml,
26		ProtocolSpec_xml,
27		ProtocolInterfaces_xml
28	],
29	build_by_default: true,
30	install: true,
31	install_dir: publican_install_prefix
32)
33