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