mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
doc: fix up example dependencies in meson
This commit is contained in:
parent
86af9de739
commit
75eec2ae85
1 changed files with 8 additions and 1 deletions
|
|
@ -150,11 +150,17 @@ example_files = [
|
||||||
'tutorial5.c',
|
'tutorial5.c',
|
||||||
'tutorial6.c',
|
'tutorial6.c',
|
||||||
]
|
]
|
||||||
|
example_dep_files = []
|
||||||
|
foreach h : example_files
|
||||||
|
example_dep_files += ['examples/' + h]
|
||||||
|
endforeach
|
||||||
foreach h : examples
|
foreach h : examples
|
||||||
example_files += [h + '.c']
|
example_files += [h + '.c']
|
||||||
|
example_dep_files += ['../src/examples/' + h + '.c']
|
||||||
endforeach
|
endforeach
|
||||||
foreach h : spa_examples
|
foreach h : spa_examples
|
||||||
example_files += ['spa/examples/' + h + '.c']
|
example_files += ['spa/examples/' + h + '.c']
|
||||||
|
example_dep_files += ['../spa/examples/' + h + '.c']
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
example_doxygen = []
|
example_doxygen = []
|
||||||
|
|
@ -228,7 +234,8 @@ index_json = custom_target('index.json',
|
||||||
)
|
)
|
||||||
|
|
||||||
html_target = custom_target('pipewire-docs',
|
html_target = custom_target('pipewire-docs',
|
||||||
input: [ doxyfile, doxygen_layout, examples_dox, doxygen_filter_c, doxygen_filter_h, index_json ] + inputs + cssfiles,
|
input: [ doxyfile, doxygen_layout, example_dep_files, examples_dox,
|
||||||
|
doxygen_filter_c, doxygen_filter_h, index_json ] + inputs + cssfiles,
|
||||||
output: [ 'html' ],
|
output: [ 'html' ],
|
||||||
command: [ doxygen, doxyfile ],
|
command: [ doxygen, doxyfile ],
|
||||||
env: doxygen_env,
|
env: doxygen_env,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue