[gedit/zbrown/deteplification-src: 79/633] build: improve a little gschema handling
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 79/633] build: improve a little gschema handling
- Date: Sat, 10 Apr 2021 12:47:54 +0000 (UTC)
commit f80211bf9c38a82005c752beb54f4518b5564819
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Dec 5 11:26:32 2019 +0100
build: improve a little gschema handling
Avoid using a global variable (glibdir).
data/meson.build | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index ef6907bcb..32004cbbc 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -48,10 +48,8 @@ if desktop_file_validate.found()
endif
quoted_plugins = []
-foreach plugin_name:active_plugins
- quoted_plugins += [
- '\'@0@\''.format(plugin_name)
- ]
+foreach plugin_name : active_plugins
+ quoted_plugins += '\'@0@\''.format(plugin_name)
endforeach
gschema_in = configuration_data()
@@ -61,10 +59,7 @@ gschema_file = configure_file(
input: 'org.gnome.gedit.gschema.xml.in',
output: 'org.gnome.gedit.gschema.xml',
configuration: gschema_in,
- install_dir: join_paths(
- glibdir,
- 'schemas',
- )
+ install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0/schemas')
)
gschema_dtd = join_paths(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]