[meson] Rename 'gtk_doc' option to 'docs'

This commit is contained in:
Ebrahim Byagowi 2020-07-22 17:53:04 +04:30 committed by GitHub
parent 11ae45f6eb
commit f9ac6ddbef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ if build_machine.system() == 'windows'
subdir_done()
endif
if not find_program('gtkdoc-scan', required: get_option('gtk_doc')).found()
if not find_program('gtkdoc-scan', required: get_option('docs')).found()
message('Not building documentation as gtk-doc was not found')
subdir_done()
endif

View File

@ -351,7 +351,7 @@ if not get_option('benchmark').disabled() and \
subdir('perf')
endif
if not get_option('gtk_doc').disabled()
if not get_option('docs').disabled()
subdir('docs')
endif

View File

@ -25,7 +25,7 @@ option('tests', type: 'feature', value: 'enabled', yield: true,
description: 'Enable or disable unit tests')
option('introspection', type: 'feature', value: 'auto', yield: true,
description: 'Generate gobject-introspection bindings (.gir/.typelib files)')
option('gtk_doc', type: 'feature', value: 'auto', yield: true,
option('docs', type: 'feature', value: 'auto', yield: true,
description: 'Generate documentation with gtk-doc')
option('benchmark', type: 'feature', value: 'auto',