mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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',
|
||||
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',
|
||||
input: [ doxyfile ],
|
||||
output: [ 'html' ],
|
||||
command: [ doxygen, doxyfile ],
|
||||
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',
|
||||
description: 'Build documentation',
|
||||
type: 'feature',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue