mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 00: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>
26 lines
524 B
Meson
26 lines
524 B
Meson
|
|
cogl_toml = configure_file(
|
|
input: 'cogl.toml.in',
|
|
output: 'cogl.toml',
|
|
configuration: toml_conf,
|
|
install: true,
|
|
install_dir: docs_dir / 'cogl',
|
|
)
|
|
|
|
custom_target('cogl-doc',
|
|
input: [ cogl_toml, libmutter_cogl_gir[0] ],
|
|
output: 'cogl',
|
|
command: [
|
|
gidocgen,
|
|
'generate',
|
|
gidocgen_common_args,
|
|
'--config=@INPUT0@',
|
|
'--output-dir=@OUTPUT@',
|
|
'--content-dir=@0@'.format(meson.current_source_dir()),
|
|
'@INPUT1@',
|
|
],
|
|
build_by_default: true,
|
|
install: true,
|
|
install_dir: docs_dir,
|
|
)
|