gimp/devel-docs/meson.build
Niels De Graef 92e80d12e8 docs: Migrate from gtk-doc to gi-docgen
gtk-doc has been slowly dying for the past few years; with gi-docgen we
have a nice successor.

This also makes sure the C documentation also uses the GIR file, which
in turn means faster build times (since all the C code doesn't have to
be parsed and recompiled again), and has a clear dependency graph.

See the [gi-docgen tutorial] for more info on how the system works.

[gi-docgen tutorial]: https://gnome.pages.gitlab.gnome.org/gi-docgen/tutorial.html
2021-12-27 10:47:34 +01:00

26 lines
460 B
Meson

devel_docs_build_root = meson.current_build_dir()
version_data = configuration_data()
version_data.set('GIMP_VERSION', gimp_version)
configure_file(
input : 'version.in',
output: 'version',
configuration: version_data,
)
scan_args_common = [
'--deprecated-guards=GIMP_DISABLE_DEPRECATED',
]
mkdb_args_common = [
'--name-space=gimp',
]
if get_option('gi-docgen')
subdir('reference')
endif
if get_option('g-ir-doc')
subdir('g-ir-docs')
endif