wayland/doc/meson.build
Julian Orth d2931c68b3 doc: remove docbook
Signed-off-by: Julian Orth <ju.orth@gmail.com>
2026-02-02 12:44:18 +01:00

26 lines
624 B
Meson

if not get_option('libraries')
error('-Ddocumentation=true requires -Dlibraries=true')
endif
doxygen = find_program('doxygen')
mdbook = find_program('mdbook')
cmd = run_command(doxygen, '--version', check: true)
message('doxygen: ' + cmd.stdout().strip())
vers = cmd.stdout().strip()
if vers.version_compare('< 1.6.0')
error('Doxygen 1.6 or later is required for building documentation, found @0@.'.format(vers))
endif
publican_install_prefix = join_paths(
get_option('prefix'),
get_option('datadir'),
'doc',
meson.project_name(),
'Wayland', 'en-US'
)
publican_html_dir = 'html'
subdir('doxygen')
subdir('book')