From b029fbe1ac0716163193a7e896a84e0f08bbcfdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Tue, 14 Nov 2017 09:59:24 +0100 Subject: build: Rename build options Following the new meson porting guidelines, this patch renames the build options as follows: - Remove the 'enable' prefix from boolean options. - Remove the 'with' prefix from string options. - The character separator in multi-word options has been changed to underscore. https://bugzilla.gnome.org/show_bug.cgi?id=790332 --- meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 87a9ca02..ead22064 100644 --- a/meson.build +++ b/meson.build @@ -41,8 +41,8 @@ gnomebt_buildtype = get_option('buildtype') gnomebt_debug = gnomebt_buildtype.contains('debug') # options -enable_gtk_doc = get_option('enable-gtk-doc') -enable_gir = get_option('enable-introspection') +enable_gtk_doc = get_option('gtk_doc') +enable_gir = get_option('introspection') # Before making a release, the GNOMEBT_LT_VERSION string should be modified. # The string is of the form C:R:A. @@ -175,7 +175,7 @@ endif subdir('po') -meson.add_install_script('meson_post_install.py', get_option('enable-icon-update') ? 'icon-update' : '') +meson.add_install_script('meson_post_install.py', get_option('icon_update') ? 'icon_update' : '') output = '\nConfigure summary:\n\n' output += ' Compiler....................: ' + cc.get_id() + '\n\n' -- cgit v1.2.1