mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-16 05:34:32 -04: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 f_name, sections: formats
|
||||||
foreach s_name, s_files: sections
|
foreach s_name, s_files: sections
|
||||||
t_name = '@0@-@1@-doc'.format(f_name, s_name)
|
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
|
# will complain if one is not set, so we use a
|
||||||
# dummy 'stamp' file
|
# dummy 'stamp' file
|
||||||
stamp = join_paths(meson.current_build_dir(), '@0@.stamp'.format(t_name))
|
stamp = join_paths(meson.current_build_dir(), '@0@.stamp'.format(t_name))
|
||||||
custom_target(
|
html_targets += custom_target(
|
||||||
t_name,
|
t_name,
|
||||||
command: [
|
command: [
|
||||||
gen_doxygen,
|
gen_doxygen,
|
||||||
|
|
@ -85,6 +87,16 @@ foreach f_name, sections: formats
|
||||||
endforeach
|
endforeach
|
||||||
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
|
man_files = shared_files + server_files + client_files + cursor_files
|
||||||
stamp = join_paths(meson.current_build_dir(), 'man3.stamp')
|
stamp = join_paths(meson.current_build_dir(), 'man3.stamp')
|
||||||
custom_target(
|
custom_target(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue