mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
docs: Fix building with docs enabled and introspection disabled
We install gvariant-specification-1.0.html to `docs_dir` but that shouldn't require `enable_gir`. Fixes: docs/reference/glib/meson.build:26:16: ERROR: Unknown variable "docs_dir" Part-of: <https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3955>
This commit is contained in:
parent
04abb73732
commit
dd97c88f90
@ -14,10 +14,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')
|
||||
|
Loading…
Reference in New Issue
Block a user