One of the steps that must be completed prior to making an input-wacom
release is bumping up the version number in configure.ac. This is an
error-prone process (note our missing "0.24.0" release ;)) which can
be replaced by having configure.ac get the current version from our
"git-version-gen" script. With this patch in place, the final commit
should be tagged and then `./autogen.sh` and finally  `make dist` run.
The last two steps can be run at any time to make properly-versioned
beta tarballs as well.

Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 autogen.sh   | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 904cd67..caab229 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,7 +6,7 @@ test -z "$srcdir" && srcdir=.
 ORIGDIR=`pwd`
 cd $srcdir
 
-autoreconf -v --install || exit 1
+autoreconf -v --install --force || exit 1
 cd $ORIGDIR || exit $?
 
 $srcdir/configure --enable-maintainer-mode "$@"
diff --git a/configure.ac b/configure.ac
index d8988af..ee72cb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 AC_PREREQ(2.60)
 AC_INIT([input-wacom],
-       [0.29.0])
+       m4_flatten(m4_esyscmd([./git-version-gen])))
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_HEADERS([config.h])
-- 
2.4.6


------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to