mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-14 08:56:37 -05:00
dox: keep the doxygen input files as array in meson
Keep all files as strings in an array so we can add them to the custom command input list - this way meson will correctly rebuild documentation on changes.
This commit is contained in:
parent
1fd56a6d26
commit
d10381dfc3
1 changed files with 5 additions and 5 deletions
|
|
@ -10,15 +10,15 @@ else
|
||||||
doxyfile_conf.set('HAVE_DOT', 'NO')
|
doxyfile_conf.set('HAVE_DOT', 'NO')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
inputs = ''
|
inputs = []
|
||||||
foreach h : pipewire_headers
|
foreach h : pipewire_headers
|
||||||
inputs += ' ' + meson.source_root() / 'src' / 'pipewire' / h
|
inputs += meson.source_root() / 'src' / 'pipewire' / h
|
||||||
endforeach
|
endforeach
|
||||||
foreach h : pipewire_sources
|
foreach h : pipewire_sources
|
||||||
inputs += ' ' + meson.source_root() / 'src' / 'pipewire' / h
|
inputs += meson.source_root() / 'src' / 'pipewire' / h
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
doxyfile_conf.set('inputs', inputs)
|
doxyfile_conf.set('inputs', ' '.join(inputs))
|
||||||
|
|
||||||
doxyfile = configure_file(input: 'Doxyfile.in',
|
doxyfile = configure_file(input: 'Doxyfile.in',
|
||||||
output: 'Doxyfile',
|
output: 'Doxyfile',
|
||||||
|
|
@ -30,7 +30,7 @@ if docdir == ''
|
||||||
endif
|
endif
|
||||||
|
|
||||||
html_target = custom_target('pipewire-docs',
|
html_target = custom_target('pipewire-docs',
|
||||||
input: [ doxyfile ],
|
input: [ doxyfile ] + inputs,
|
||||||
output: [ 'html' ],
|
output: [ 'html' ],
|
||||||
command: [ doxygen, doxyfile ],
|
command: [ doxygen, doxyfile ],
|
||||||
install: true,
|
install: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue