mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
meson: use absolute paths for doxygen stamp files
The relative paths are incorrect when running as a subproject. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
7816f0b842
commit
d690712b7b
1 changed files with 4 additions and 2 deletions
|
|
@ -76,6 +76,7 @@ foreach f_name, sections: formats
|
||||||
# We do not really need an output file, but Meson
|
# We do not really need an output file, but Meson
|
||||||
# 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))
|
||||||
custom_target(
|
custom_target(
|
||||||
t_name,
|
t_name,
|
||||||
command: [
|
command: [
|
||||||
|
|
@ -84,7 +85,7 @@ foreach f_name, sections: formats
|
||||||
'--builddir=@OUTDIR@',
|
'--builddir=@OUTDIR@',
|
||||||
'--section=@0@'.format(s_name),
|
'--section=@0@'.format(s_name),
|
||||||
'--output-format=@0@'.format(f_name),
|
'--output-format=@0@'.format(f_name),
|
||||||
'--stamp=doc/doxygen/@0@.stamp'.format(t_name),
|
'--stamp=@0@'.format(stamp),
|
||||||
wayland_doxygen,
|
wayland_doxygen,
|
||||||
'@INPUT@',
|
'@INPUT@',
|
||||||
],
|
],
|
||||||
|
|
@ -97,13 +98,14 @@ foreach f_name, sections: formats
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
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')
|
||||||
custom_target(
|
custom_target(
|
||||||
'man-pages-3',
|
'man-pages-3',
|
||||||
command: [
|
command: [
|
||||||
gen_doxygen,
|
gen_doxygen,
|
||||||
'--builddir=@OUTDIR@',
|
'--builddir=@OUTDIR@',
|
||||||
'--output-format=man3',
|
'--output-format=man3',
|
||||||
'--stamp=doc/doxygen/man3.stamp',
|
'--stamp=@0@'.format(stamp),
|
||||||
wayland_doxygen,
|
wayland_doxygen,
|
||||||
'@INPUT@',
|
'@INPUT@',
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue