You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
Meson
36 lines
1.1 KiB
Meson
|
|
if build_docs_devel
|
|
basename = 'ddxDesign'
|
|
input_xml = basename + '.xml'
|
|
|
|
custom_target(
|
|
basename + '.html',
|
|
output: basename + '.html',
|
|
input: [input_xml],
|
|
command: [xmlto] + docs_xmlto_search_flags + [
|
|
'-x', join_paths(doc_stylesheet_srcdir, 'xorg-xhtml.xsl'),
|
|
'-o', meson.current_build_dir(),
|
|
'xhtml-nochunks', '@INPUT0@'],
|
|
build_by_default: true,
|
|
install: false,
|
|
)
|
|
|
|
if build_docs_pdf
|
|
foreach format : ['ps', 'pdf']
|
|
output_fn = basename + '.' + format
|
|
custom_target(
|
|
output_fn,
|
|
output: output_fn,
|
|
input: [input_xml],
|
|
command: [xmlto] + docs_xmlto_search_flags + [
|
|
'-x', join_paths(doc_stylesheet_srcdir, 'xorg-fo.xsl'),
|
|
'--stringparam', 'img.src.path=' + meson.current_build_dir(),
|
|
'-o', meson.current_build_dir(),
|
|
'--with-fop', format, '@INPUT0@'],
|
|
build_by_default: true,
|
|
install: false,
|
|
)
|
|
endforeach
|
|
endif
|
|
endif
|