[nautilus] meson.build: Clean up profile stuff
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] meson.build: Clean up profile stuff
- Date: Mon, 10 Dec 2018 14:20:55 +0000 (UTC)
commit 4614584c246bcad02723a897b99a3cb524ac7099
Author: Ernestas Kulik <ernestask gnome org>
Date: Mon Dec 10 14:20:46 2018 +0000
meson.build: Clean up profile stuff
meson.build | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/meson.build b/meson.build
index 924bfac0d..4a2f48c04 100644
--- a/meson.build
+++ b/meson.build
@@ -153,14 +153,11 @@ xml = dependency('libxml-2.0', version: '>= 2.7.8')
#################
conf = configuration_data()
+profile = get_option('profile')
+name_suffix = ''
+
if get_option('profile') == 'Devel'
name_suffix = ' (Development Snapshot)'
-elif get_option('profile') != ''
- profile = get_option('profile')
- name_suffix = get_option('profile')
-else
- profile = ''
- name_suffix = ''
endif
application_id = 'org.gnome.Nautilus' + profile
@@ -194,7 +191,7 @@ conf.set('HAVE_SELINUX', get_option('selinux'))
config_h = declare_dependency(
sources: vcs_tag(
command: ['git', 'rev-parse', '--short', 'HEAD'],
- fallback: get_option('profile') != ''? 'devel' : 'stable',
+ fallback: profile != ''? 'devel' : 'stable',
input: configure_file(
output: 'config.h.in',
configuration: conf
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]