mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	Without this, DocBook picks the output encoding and on some setups we end up with ISO-8859-1. Tested by booting a fresh Alpine VM, verifying that the generated HTML is using the incorrect charset, applying the patch, and verifying that the generated HTML is fixed. Signed-off-by: Simon Ser <contact@emersion.fr>
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			748 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			748 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
merge_mapcoords_xsl = files('merge-mapcoords.xsl')
 | 
						|
 | 
						|
subdir('sources')
 | 
						|
 | 
						|
custom_target(
 | 
						|
	'Wayland-docbook-html',
 | 
						|
	command: [
 | 
						|
		xmlto,
 | 
						|
		'--skip-validation',
 | 
						|
		'--stringparam', 'chunker.output.encoding=UTF-8',
 | 
						|
		'--stringparam', 'chunk.section.depth=0',
 | 
						|
		'--stringparam', 'toc.section.depth=1',
 | 
						|
		'--stringparam', 'generate.consistent.ids=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
 | 
						|
)
 |