meson: replace join_paths(a, b) with a / b

More readable and from the meson reference manual:
(since 0.49.0) Using the/ operator on strings is equivalent to calling join_paths.
This commit is contained in:
Peter Hutterer 2021-04-15 14:41:04 +10:00 committed by Wim Taymans
parent 2f78829fda
commit 223f20709d
34 changed files with 98 additions and 98 deletions

View file

@ -12,10 +12,10 @@ endif
inputs = ''
foreach h : pipewire_headers
inputs += ' ' + join_paths(meson.source_root(), 'src', 'pipewire', h)
inputs += ' ' + meson.source_root() / 'src' / 'pipewire' / h
endforeach
foreach h : pipewire_sources
inputs += ' ' + join_paths(meson.source_root(), 'src', 'pipewire', h)
inputs += ' ' + meson.source_root() / 'src' / 'pipewire' / h
endforeach
doxyfile_conf.set('inputs', inputs)
@ -24,11 +24,11 @@ doxyfile = configure_file(input: 'Doxyfile.in',
output: 'Doxyfile',
configuration: doxyfile_conf)
docdir = join_paths(pipewire_datadir, 'doc')
docdir = pipewire_datadir / 'doc'
html_target = custom_target('pipewire-docs',
input: [ doxyfile ],
output: [ 'html' ],
command: [ doxygen, doxyfile ],
install: true,
install_dir: join_paths(docdir, 'pipewire'))
install_dir: docdir / 'pipewire')