summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2020-08-10 19:47:45 +0300
committerTanu Kaskinen <tanuk@iki.fi>2020-08-10 19:50:57 +0300
commit2c790e193730f17b70734a26a417f46189fbc6c0 (patch)
tree737c0fe2909337cd056e15abca210eeb65c9821f /meson.build
parent6fce5b2eac085dc6f7ca105c0750b691e405d7e0 (diff)
meson: Add doxygen target
The documentation can be generated with "ninja -C build doxygen". The output will go to "doxygen/html" under the build directory.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index a40846479..88d02bd49 100644
--- a/meson.build
+++ b/meson.build
@@ -151,6 +151,7 @@ cdata.set_quoted('DESKTOPFILEDIR', join_paths(datadir, 'applications'))
cdata.set_quoted('PULSE_LOCALEDIR', localedir)
cdata.set_quoted('GETTEXT_PACKAGE', 'pulseaudio')
cdata.set('ENABLE_NLS', 1)
+cdata.set('top_srcdir', meson.source_root())
# Platform specifics
# First some defaults to keep config file generation happy
@@ -699,6 +700,7 @@ check_dep = dependency('check', version : '>= 0.9.10', required : get_option('te
# Subdirs
+subdir('doxygen')
subdir('po')
if get_option('man')
subdir('man')