Merge branch 'wip/bobby285271/fix-docs-dir' into 'main'

docs: Fix building with docs enabled and introspection disabled

See merge request GNOME/glib!3955
This commit is contained in:
Michael Catanzaro 2024-03-06 01:12:51 +00:00
commit a767439117

View File

@ -15,10 +15,10 @@ if get_option('documentation') and enable_gir
'--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../girepository/introspection'),
]
docs_dir = glib_datadir / 'doc' / 'glib-2.0'
endif
docs_dir = glib_datadir / 'doc' / 'glib-2.0'
subdir('glib')
subdir('gmodule')
subdir('gobject')