mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
docs: update
This commit is contained in:
parent
ec0fd20ca5
commit
ab9b3ba85a
4 changed files with 1 additions and 10 deletions
25
doc/meson.build
Normal file
25
doc/meson.build
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
doxyfile_conf = configuration_data()
|
||||
doxyfile_conf.set('PACKAGE_NAME', meson.project_name())
|
||||
doxyfile_conf.set('PACKAGE_VERSION', meson.project_version())
|
||||
doxyfile_conf.set('top_srcdir', meson.source_root())
|
||||
doxyfile_conf.set('top_builddir', meson.build_root())
|
||||
|
||||
if find_program('dot', required: false).found()
|
||||
doxyfile_conf.set('HAVE_DOT', 'YES')
|
||||
else
|
||||
doxyfile_conf.set('HAVE_DOT', 'NO')
|
||||
endif
|
||||
|
||||
doxyfile = configure_file(input: 'Doxyfile.in',
|
||||
output: 'Doxyfile',
|
||||
configuration: doxyfile_conf,
|
||||
install: false)
|
||||
|
||||
docdir = join_paths(pipewire_datadir, 'doc')
|
||||
|
||||
html_target = custom_target('pipewire-docs',
|
||||
input: [ doxyfile ],
|
||||
output: [ 'html' ],
|
||||
command: [ doxygen, doxyfile ],
|
||||
install: true,
|
||||
install_dir: join_paths(docdir, 'pipewire'))
|
||||
Loading…
Add table
Add a link
Reference in a new issue