From 7f7e2d50f2cc0d13bcbea78a5369baae3cfe4828 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Mon, 2 Feb 2026 12:41:27 +0100 Subject: [PATCH] doc: add installable target for doxygen output Signed-off-by: Julian Orth --- doc/doxygen/meson.build | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/doxygen/meson.build b/doc/doxygen/meson.build index 551bd4b4..7d9938e8 100644 --- a/doc/doxygen/meson.build +++ b/doc/doxygen/meson.build @@ -58,6 +58,8 @@ formats = { }, } +html_targets = [] + foreach f_name, sections: formats foreach s_name, s_files: sections t_name = '@0@-@1@-doc'.format(f_name, s_name) @@ -66,7 +68,7 @@ foreach f_name, sections: formats # will complain if one is not set, so we use a # dummy 'stamp' file stamp = join_paths(meson.current_build_dir(), '@0@.stamp'.format(t_name)) - custom_target( + html_targets += custom_target( t_name, command: [ gen_doxygen, @@ -85,6 +87,16 @@ foreach f_name, sections: formats endforeach endforeach +custom_target( + 'html', + input: html_targets, + output: 'html', + command: 'true', + build_by_default: true, + install: true, + install_dir: publican_install_prefix, +) + man_files = shared_files + server_files + client_files + cursor_files stamp = join_paths(meson.current_build_dir(), 'man3.stamp') custom_target(