mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00

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
26 lines
460 B
Meson
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
|