build-sys: Fix meson version detection logic
authorArun Raghavan <arun@arunraghavan.net>
Thu, 11 Oct 2018 14:08:19 +0000 (19:38 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Thu, 11 Oct 2018 14:56:09 +0000 (14:56 +0000)
commit56c1e7c61528c5cf2b66b6193ac348046b3ca285
tree15393ce9459b264c89fe04ec301a7bca1a297985
parentc46e95ca639aac0cd0df811f87958845d7e98d9b
build-sys: Fix meson version detection logic

This sync the meson version detection to match what we do in the
autotools build, which is to use git-version-gen, which in turn looks
for <topdir>/.tarball-version, or generates the version based on a git
tag or environment variable.
meson.build