[gedit/zbrown/deteplification-src: 88/633] build: avoid the use of a variable
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 88/633] build: avoid the use of a variable
- Date: Sat, 10 Apr 2021 12:47:54 +0000 (UTC)
commit b4ccd58acfb27532d43cd3b16034816f1a40eacc
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Dec 5 15:48:54 2019 +0100
build: avoid the use of a variable
get_option('plugins') is short enough.
meson.build | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index a4cd323a7..9850bcafc 100644
--- a/meson.build
+++ b/meson.build
@@ -129,8 +129,6 @@ if host_machine.system() == 'darwin'
endif
# Options
-build_plugins = get_option('plugins')
-
generate_gir = get_option('introspection')
if generate_gir and not introspection_dep.found()
generate_gir = false
@@ -155,9 +153,9 @@ endif
subdir('data')
subdir('po')
-
subdir('gedit')
-if build_plugins == true
+
+if get_option('plugins')
subdir('plugins')
endif
@@ -184,7 +182,7 @@ summary = [
' API docs: @0@'.format(get_option('gtk_doc')),
' User docs: @0@'.format(get_option('user_documentation')),
' Introspection: @0@'.format(generate_gir),
- ' Plugins: @0@'.format(build_plugins),
+ ' Plugins: @0@'.format(get_option('plugins')),
' Vala API: @0@'.format(generate_vapi),
' Gvfs metadata: @0@'.format(enable_gvfs_metadata),
'',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]