meson: rename gtkdoc option to gtk_doc
authorTim-Philipp Müller <tim@centricular.com>
Mon, 21 May 2018 22:12:22 +0000 (23:12 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 21 May 2018 22:12:22 +0000 (23:12 +0100)
meson.build
meson_options.txt

index 2d1a2b9..a0e77c8 100644 (file)
@@ -344,7 +344,7 @@ endif
 
 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 425f5d0..33d38f8 100644 (file)
@@ -20,7 +20,7 @@ option('install_plugins_helper', type: 'string', value: '',
 # Common options
 option('orc', type : 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', yield : true)
 option('examples', type : 'boolean', value : true, yield : true)
-option('gtkdoc', type : 'boolean', value : true, yield : true,
+option('gtk_doc', type : 'boolean', value : true, yield : true,
        description : 'Build API documentation with gtk-doc')
 option('introspection', type : 'boolean', value : true, yield : true,
         description : 'Generate gobject-introspection bindings')