mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-05 04:06:20 -05:00
doc: add installable target for doxygen output
Signed-off-by: Julian Orth <ju.orth@gmail.com>
This commit is contained in:
parent
2096ecf99f
commit
7f7e2d50f2
1 changed files with 13 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue