Commit 4614584c authored by Ernestas Kulik's avatar Ernestas Kulik 🦑

meson.build: Clean up profile stuff

parent 85c86bd5
Pipeline #45169 failed with stages
in 34 minutes and 24 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment