[shotwell] build: Use newer Meson syntax for quoted strings
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] build: Use newer Meson syntax for quoted strings
- Date: Wed, 19 Sep 2018 08:53:07 +0000 (UTC)
commit 7c2a60ff8c6dbc77c0340217a702f8098a017325
Author: Jens Georg <mail jensge org>
Date: Wed Sep 19 10:30:53 2018 +0200
build: Use newer Meson syntax for quoted strings
meson.build | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index dc6d4788..dbe13f53 100644
--- a/meson.build
+++ b/meson.build
@@ -7,12 +7,12 @@ gnome = import('gnome')
i18n = import('i18n')
conf = configuration_data()
-conf.set('GETTEXT_PACKAGE', '"@0@"'.format(meson.project_name().to_lower()))
-conf.set('_VERSION', '"@0@"'.format(meson.project_version()))
-conf.set('_PREFIX', '"@0@"'.format(get_option('prefix')))
-conf.set('_LANG_SUPPORT_DIR', '"@0@"'.format(join_paths(get_option('prefix'), get_option('localedir'))))
-conf.set('_LIBEXECDIR', '"@0@"'.format(join_paths(get_option('prefix'), get_option('libexecdir'))))
-conf.set('_LIB', '"@0@"'.format(join_paths(get_option('prefix'), get_option('libdir'))))
+conf.set_quoted('GETTEXT_PACKAGE', meson.project_name().to_lower())
+conf.set_quoted('_VERSION', meson.project_version())
+conf.set_quoted('_PREFIX', get_option('prefix'))
+conf.set_quoted('_LANG_SUPPORT_DIR', join_paths(get_option('prefix'), get_option('localedir')))
+conf.set_quoted('_LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir')))
+conf.set_quoted('_LIB', join_paths(get_option('prefix'), get_option('libdir')))
configure_file(output : 'config.h', configuration: conf)
config_incdir = include_directories('.')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]