meson: Use correct version string for manual pages

The `version' variable has the prefix of the Git tag
(e.g. `v' or `p') stripped.  So use the full version
string instead.

Change-Id: I67fbc3c34d74cf0e1b69545a88636aabc78d8ea7
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/354
Reviewed-by: Felix Singer <felixsinger@posteo.net>
diff --git a/meson.build b/meson.build
index a6bd30f..1cfe517 100644
--- a/meson.build
+++ b/meson.build
@@ -591,7 +591,7 @@
 )
 
 config_manfile = configuration_data()
-config_manfile.set('VERSION', version)
+config_manfile.set('VERSION', meson.project_version())
 config_manfile.set('MAN_DATE', run_command('util/getversion.sh', '--man-date', check : true).stdout().strip())
 foreach man : [ 'flashprog.8', 'flashprog-config.8', 'flashprog-write-protect.8' ]
   configure_file(