mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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.
This commit is contained in:
parent
6fce5b2eac
commit
2c790e1937
2 changed files with 12 additions and 0 deletions
10
doxygen/meson.build
Normal file
10
doxygen/meson.build
Normal file
|
|
@ -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])
|
||||||
|
|
@ -151,6 +151,7 @@ cdata.set_quoted('DESKTOPFILEDIR', join_paths(datadir, 'applications'))
|
||||||
cdata.set_quoted('PULSE_LOCALEDIR', localedir)
|
cdata.set_quoted('PULSE_LOCALEDIR', localedir)
|
||||||
cdata.set_quoted('GETTEXT_PACKAGE', 'pulseaudio')
|
cdata.set_quoted('GETTEXT_PACKAGE', 'pulseaudio')
|
||||||
cdata.set('ENABLE_NLS', 1)
|
cdata.set('ENABLE_NLS', 1)
|
||||||
|
cdata.set('top_srcdir', meson.source_root())
|
||||||
|
|
||||||
# Platform specifics
|
# Platform specifics
|
||||||
# First some defaults to keep config file generation happy
|
# 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
|
# Subdirs
|
||||||
|
|
||||||
|
subdir('doxygen')
|
||||||
subdir('po')
|
subdir('po')
|
||||||
if get_option('man')
|
if get_option('man')
|
||||||
subdir('man')
|
subdir('man')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue