mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-14 08:56:37 -05:00
parent
74140abada
commit
4bfa4a3964
2 changed files with 8 additions and 2 deletions
|
|
@ -24,11 +24,14 @@ doxyfile = configure_file(input: 'Doxyfile.in',
|
||||||
output: 'Doxyfile',
|
output: 'Doxyfile',
|
||||||
configuration: doxyfile_conf)
|
configuration: doxyfile_conf)
|
||||||
|
|
||||||
docdir = pipewire_datadir / 'doc'
|
docdir = get_option('docdir')
|
||||||
|
if docdir == ''
|
||||||
|
docdir = pipewire_datadir / 'doc' / meson.project_name()
|
||||||
|
endif
|
||||||
|
|
||||||
html_target = custom_target('pipewire-docs',
|
html_target = custom_target('pipewire-docs',
|
||||||
input: [ doxyfile ],
|
input: [ doxyfile ],
|
||||||
output: [ 'html' ],
|
output: [ 'html' ],
|
||||||
command: [ doxygen, doxyfile ],
|
command: [ doxygen, doxyfile ],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: docdir / 'pipewire')
|
install_dir: docdir)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
option('docdir',
|
||||||
|
type : 'string',
|
||||||
|
description : 'Directory for installing documentation to (defaults to pipewire_datadir/doc/meson.project_name() )')
|
||||||
option('docs',
|
option('docs',
|
||||||
description: 'Build documentation',
|
description: 'Build documentation',
|
||||||
type: 'feature',
|
type: 'feature',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue