Remove the 'v' prefix from the version string

This commit is contained in:
Andrea Mazzoleni 2015-11-24 19:46:46 +01:00
parent 1f2c0fcc22
commit 7414b0af19

View file

@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.65])
dnl Get version number from git
m4_define([git_revision], m4_esyscmd_s([git describe]))
m4_define([git_revision], m4_esyscmd_s([git describe --match 'v*' | sed 's/^v//']))
AC_INIT([snapraid], [git_revision], [], [], [http://www.snapraid.it])
AM_INIT_AUTOMAKE([foreign no-dependencies subdir-objects])
AC_CONFIG_SRCDIR([cmdline/snapraid.c])