From: Adam Dickmeiss Date: Tue, 15 Nov 2011 09:22:33 +0000 (+0100) Subject: Read version from IDMETA rather than configure.ac. X-Git-Tag: v1.2.8~9 X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=commitdiff_plain;h=e9c4133f031ccad3a9c0af5fa86494aa4196fb10 Read version from IDMETA rather than configure.ac. In other words, configure.ac gets its version from IDMETA. --- diff --git a/IDMETA b/IDMETA index 86664dc..02717bd 100644 --- a/IDMETA +++ b/IDMETA @@ -1,2 +1,3 @@ DEBIAN_DIST="wheezy squeeze lenny" UBUNTU_DIST="natty maverick lucid karmic" +VERSION=1.2.7 diff --git a/configure.ac b/configure.ac index 42b00fe..e407427 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,9 @@ dnl This file is part of yazpp dnl Copyright (C) 1998-2011 Index Data AC_PREREQ(2.60) -AC_INIT([yazpp],[1.2.7],[adam@indexdata.dk]) +AC_INIT([yazpp], +m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']), +[adam@indexdata.dk]) AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_SRCDIR(configure.ac) AC_CONFIG_AUX_DIR([config])