summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-03-19 14:11:20 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-03-19 14:17:22 +0200
commitb1be1fc680d95264f7be6e0a1e3a45f597da6b80 (patch)
tree5023e6b5cda0d7c36c2281466b732ba1da9c07d7
parentfc5d9cbcbca455520c4eff94157d0846881e7202 (diff)
downloadnautilus-b1be1fc680d95264f7be6e0a1e3a45f597da6b80.tar.gz
meson.build: use project version instead of hardcoding it
This will make it one less thing to change when branching.
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index bad49b1f9..99126aadb 100644
--- a/meson.build
+++ b/meson.build
@@ -97,7 +97,8 @@ if get_option('profile') == 'development'
name_suffix = ' (Development Snapshot)'
elif get_option('profile') == 'stable-flatpak'
profile = 'StableFlatpak'
- name_suffix = ' (3.28 Flatpak)'
+ version_array = meson.project_version().split('.')
+ name_suffix = ' (@0@.@1@ Flatpak)'.format(version_array[0], version_array[1])
else
profile = ''
name_suffix = ''