mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
d2dbfba208
They are now installed to (e.g.) `${prefix}/share/doc/glib-2.0/{glib,gmodule,gobject,gio}/index.html`. We might want to drop one level of nesting out of that, but for the moment I thought I’d keep it in so we can disambiguate by installed major version. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
25 lines
609 B
Meson
25 lines
609 B
Meson
if get_option('documentation') and enable_gir
|
|
gidocgen_dep = dependency('gi-docgen', version: '>= 2023.1',
|
|
fallback: ['gi-docgen', 'dummy_dep'],
|
|
required: true)
|
|
|
|
toml_conf = configuration_data()
|
|
toml_conf.set('VERSION', meson.project_version())
|
|
|
|
gidocgen = find_program('gi-docgen', required: true)
|
|
|
|
gidocgen_common_args = [
|
|
'--quiet',
|
|
'--no-namespace-dir',
|
|
'--fatal-warnings',
|
|
]
|
|
|
|
docs_dir = glib_datadir / 'doc' / 'glib-2.0'
|
|
|
|
subdir('glib')
|
|
subdir('gmodule')
|
|
subdir('gobject')
|
|
subdir('gio')
|
|
subdir('girepository')
|
|
endif
|