summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doxygen/meson.build10
-rw-r--r--meson.build2
2 files changed, 12 insertions, 0 deletions
diff --git a/doxygen/meson.build b/doxygen/meson.build
new file mode 100644
index 000000000..afc0e4989
--- /dev/null
+++ b/doxygen/meson.build
@@ -0,0 +1,10 @@
+cdata.set('DOXYGEN_OUTPUT_DIRECTORY', meson.current_build_dir())
+
+doxygen_conf = configure_file(
+ input : 'doxygen.conf.in',
+ output : 'doxygen.conf',
+ configuration : cdata,
+)
+
+run_target('doxygen',
+ command : ['doxygen', doxygen_conf])
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')