summaryrefslogtreecommitdiff
path: root/doxygen
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 /doxygen
parent6fce5b2eac085dc6f7ca105c0750b691e405d7e0 (diff)
downloadpulseaudio-2c790e193730f17b70734a26a417f46189fbc6c0.tar.gz
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 'doxygen')
-rw-r--r--doxygen/meson.build10
1 files changed, 10 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])