]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: get the project version from the version-gen script
authorEli Schwartz <eschwartz@archlinux.org>
Thu, 5 May 2022 03:52:31 +0000 (23:52 -0400)
committerEli Schwartz <eschwartz@archlinux.org>
Thu, 5 May 2022 03:52:31 +0000 (23:52 -0400)
This matches autotools and ensures that the version number is actually
reliable.

meson.build

index 09479c4388fc9ac2d88142a692a8dbab3e2fb297..39f12245e0abcefcc4ffce24c8b70892794f1148 100644 (file)
@@ -1,5 +1,5 @@
 project('util-linux', 'c',
-        version : '2.37',
+        version : run_command('tools/git-version-gen', check: true).stdout(),
         meson_version: '>=0.53.0',
         license : 'GPLv2+')