meson: Rename the gtkdoc option to gtk_doc

This is what other modules use
This commit is contained in:
Thibault Saunier 2018-06-15 10:25:33 -04:00
parent 5fa525b2ff
commit 125d411063
2 changed files with 2 additions and 2 deletions

View file

@ -4,5 +4,5 @@ option('debug_viewer', type : 'boolean', value : true,
description : 'Build GstDebugViewer') description : 'Build GstDebugViewer')
option('introspection', type : 'boolean', value : true, yield : true, option('introspection', type : 'boolean', value : true, yield : true,
description : 'Generate gobject-introspection bindings') description : 'Generate gobject-introspection bindings')
option('gtkdoc', type : 'boolean', value : true, yield : true, option('gtk_doc', type : 'boolean', value : true, yield : true,
description : 'Generate API documentation with gtk-doc') description : 'Generate API documentation with gtk-doc')

View file

@ -27,7 +27,7 @@ subdir('launcher')
subdir('tools') subdir('tools')
if build_machine.system() == 'windows' if build_machine.system() == 'windows'
message('Disabling gtk-doc while building on Windows') message('Disabling gtk-doc while building on Windows')
elif not get_option('gtkdoc') elif not get_option('gtk_doc')
message('gtk-doc is disabled via options') message('gtk-doc is disabled via options')
else else
if find_program('gtkdoc-scan', required : false).found() if find_program('gtkdoc-scan', required : false).found()