meson: Rename the gtkdoc option to gtk_doc
authorThibault Saunier <tsaunier@igalia.com>
Fri, 15 Jun 2018 14:25:33 +0000 (10:25 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 15 Jun 2018 16:05:14 +0000 (12:05 -0400)
This is what other modules use

meson_options.txt
validate/meson.build

index 065f0e1..0b65811 100644 (file)
@@ -4,5 +4,5 @@ option('debug_viewer', type : 'boolean', value : true,
         description : 'Build GstDebugViewer')
 option('introspection', type : 'boolean', value : true, yield : true,
         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')
index 1a4c5d8..c3ea9c4 100644 (file)
@@ -27,7 +27,7 @@ subdir('launcher')
 subdir('tools')
 if build_machine.system() == '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')
 else
   if find_program('gtkdoc-scan', required : false).found()