meson: Rename the gtkdoc option to gtk_doc
authorThibault Saunier <tsaunier@igalia.com>
Thu, 14 Jun 2018 21:07:10 +0000 (17:07 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 14 Jun 2018 21:08:20 +0000 (17:08 -0400)
This is what other modules use

meson.build
meson_options.txt

index 3c7d6d7..e75acaf 100644 (file)
@@ -162,7 +162,7 @@ subdir('examples')
 
 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()
index c7096f6..2bf6061 100644 (file)
@@ -1,4 +1,4 @@
 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 : 'Build API documentation with gtk-doc')