summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-05 12:07:13 +0100
committerSimon Ser <contact@emersion.fr>2022-02-05 15:39:23 +0100
commitd690712b7b83faeb8fca4015b296aece2fb30c65 (patch)
tree1f44ae6a29f5140e3b5b981bb16f72dd6e65425c /doc
parent7816f0b84218dbfa63689052c0a996600902cd8e (diff)
downloadwayland-d690712b7b83faeb8fca4015b296aece2fb30c65.tar.gz
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/doxygen/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/doxygen/meson.build b/doc/doxygen/meson.build
index 9f27ba8..6112620 100644
--- a/doc/doxygen/meson.build
+++ b/doc/doxygen/meson.build
@@ -76,6 +76,7 @@ foreach f_name, sections: formats
# We do not really need an output file, but Meson
# 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(
t_name,
command: [
@@ -84,7 +85,7 @@ foreach f_name, sections: formats
'--builddir=@OUTDIR@',
'--section=@0@'.format(s_name),
'--output-format=@0@'.format(f_name),
- '--stamp=doc/doxygen/@0@.stamp'.format(t_name),
+ '--stamp=@0@'.format(stamp),
wayland_doxygen,
'@INPUT@',
],
@@ -97,13 +98,14 @@ foreach f_name, sections: formats
endforeach
man_files = shared_files + server_files + client_files + cursor_files
+stamp = join_paths(meson.current_build_dir(), 'man3.stamp')
custom_target(
'man-pages-3',
command: [
gen_doxygen,
'--builddir=@OUTDIR@',
'--output-format=man3',
- '--stamp=doc/doxygen/man3.stamp',
+ '--stamp=@0@'.format(stamp),
wayland_doxygen,
'@INPUT@',
],