[meson] Rename 'gtk_doc' option to 'docs'
This commit is contained in:
parent
11ae45f6eb
commit
f9ac6ddbef
|
@ -3,7 +3,7 @@ if build_machine.system() == 'windows'
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
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')
|
message('Not building documentation as gtk-doc was not found')
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -351,7 +351,7 @@ if not get_option('benchmark').disabled() and \
|
||||||
subdir('perf')
|
subdir('perf')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not get_option('gtk_doc').disabled()
|
if not get_option('docs').disabled()
|
||||||
subdir('docs')
|
subdir('docs')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ option('tests', type: 'feature', value: 'enabled', yield: true,
|
||||||
description: 'Enable or disable unit tests')
|
description: 'Enable or disable unit tests')
|
||||||
option('introspection', type: 'feature', value: 'auto', yield: true,
|
option('introspection', type: 'feature', value: 'auto', yield: true,
|
||||||
description: 'Generate gobject-introspection bindings (.gir/.typelib files)')
|
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')
|
description: 'Generate documentation with gtk-doc')
|
||||||
|
|
||||||
option('benchmark', type: 'feature', value: 'auto',
|
option('benchmark', type: 'feature', value: 'auto',
|
||||||
|
|
Loading…
Reference in New Issue