summaryrefslogtreecommitdiff
path: root/doc/publican/meson.build
blob: 898ca4fc55141ba1d7f4c6715ddf3faa4a3fcfb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
merge_mapcoords_xsl = files('merge-mapcoords.xsl')

subdir('sources')

custom_target(
	'Wayland-docbook-html',
	command: [
		xmlto,
		'--skip-validation',
		'--stringparam', 'chunk.section.depth=0',
		'--stringparam', 'toc.section.depth=1',
		'--stringparam', 'html.stylesheet=css/default.css',
		'-o', '@OUTPUT@',
		'html',
		'@INPUT@'
	],
	input: publican_processed_main,
	output: publican_html_dir,
	depend_files: publican_copied_sources,
	depends: [
		publican_processed_targets,
		ClientAPI_xml,
		ServerAPI_xml,
		ProtocolSpec_xml,
		ProtocolInterfaces_xml
	],
	build_by_default: true,
	install: true,
	install_dir: publican_install_prefix
)