[meson] Don’t scan files outside src for docs

Similar to what we do in Makefile.am.
This commit is contained in:
Khaled Hosny 2021-01-21 00:06:03 +02:00 committed by Behdad Esfahbod
parent 051a3c7b9a
commit 2a6a49c90b
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ endif
gnome.gtkdoc('harfbuzz',
main_sgml: 'harfbuzz-docs.xml',
src_dir: [join_paths(meson.current_source_dir(), '..'),
join_paths(meson.current_build_dir(), '..'),
src_dir: [join_paths(meson.current_source_dir(), '../src'),
join_paths(meson.current_build_dir(), '../src'),
],
scan_args: ['--deprecated-guards=HB_DISABLE_DEPRECATED',
'--ignore-decorators=HB_EXTERN|HB_DEPRECATED',