From 75b7ba54814270c33c3d79c35458393fd35113ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 21 May 2018 23:12:22 +0100 Subject: [PATCH] meson: rename gtkdoc option to gtk_doc --- meson.build | 2 +- meson_options.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 2d1a2b9c7c..a0e77c8667 100644 --- a/meson.build +++ b/meson.build @@ -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() diff --git a/meson_options.txt b/meson_options.txt index 425f5d08a2..33d38f8e1d 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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')