mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 12:53:07 +02: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',
|
'--fatal-warnings',
|
||||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../girepository/introspection'),
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../girepository/introspection'),
|
||||||
]
|
]
|
||||||
|
|
||||||
docs_dir = glib_datadir / 'doc' / 'glib-2.0'
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
docs_dir = glib_datadir / 'doc' / 'glib-2.0'
|
||||||
|
|
||||||
subdir('glib')
|
subdir('glib')
|
||||||
subdir('gmodule')
|
subdir('gmodule')
|
||||||
subdir('gobject')
|
subdir('gobject')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user