mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
b7ea424605
gtk-doc support was taken out about six years ago, but never replaced. Add support for the newer gi-docgen, which should hopefully encourage both C and GJS users of these libraries to improve the reference. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2248>
28 lines
495 B
Meson
28 lines
495 B
Meson
if not have_introspection
|
|
error('API reference requires introspection.')
|
|
endif
|
|
|
|
|
|
toml_conf = configuration_data()
|
|
toml_conf.set('version', libmutter_api_version)
|
|
toml_conf.set('vcs_tag', 'main')
|
|
|
|
gidocgen = find_program('gi-docgen')
|
|
|
|
gidocgen_common_args = [
|
|
'--quiet',
|
|
'--no-namespace-dir',
|
|
]
|
|
|
|
if get_option('werror')
|
|
gidocgen_common_args += ['--fatal-warnings']
|
|
endif
|
|
|
|
docs_dir = pkgdatadir / 'doc'
|
|
|
|
subdir('cally')
|
|
subdir('clutter')
|
|
subdir('cogl')
|
|
subdir('cogl-pango')
|
|
subdir('meta')
|