From: Adam Dickmeiss Date: Tue, 15 Nov 2011 09:17:41 +0000 (+0100) Subject: Read version from IDMETA rather than configure.ac. X-Git-Tag: v1.6.6~13^2~7^2~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e15377c72cb4b7e3aca357b23e19c377d2d427bc;p=pazpar2-moved-to-github.git Read version from IDMETA rather than configure.ac. --- diff --git a/IDMETA b/IDMETA index 86664dc..fb98791 100644 --- a/IDMETA +++ b/IDMETA @@ -1,2 +1,3 @@ DEBIAN_DIST="wheezy squeeze lenny" UBUNTU_DIST="natty maverick lucid karmic" +VERSION=1.6.5 diff --git a/configure.ac b/configure.ac index 2739cf7..ef4469c 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,9 @@ # Autoconf and automake setup AC_PREREQ(2.60) -AC_INIT([pazpar2],[1.6.5],[pazpar2-help@indexdata.dk]) +AC_INIT([pazpar2], +m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']), +[pazpar2-help@indexdata.dk]) AC_CONFIG_HEADERS(src/config.h)