From: Adam Dickmeiss Date: Mon, 14 Nov 2011 15:10:48 +0000 (+0100) Subject: Read version from IDMETA rather than configure.ac. X-Git-Tag: v4.2.21~10 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=6c6f50e4763f3985548d4cabafab1be1673faaae;p=yaz-moved-to-github.git Read version from IDMETA rather than configure.ac. In other words, configure.ac gets its version from IDMETA. --- diff --git a/IDMETA b/IDMETA old mode 100644 new mode 100755 index 86664dc..a64eb51 --- a/IDMETA +++ b/IDMETA @@ -1,2 +1,3 @@ DEBIAN_DIST="wheezy squeeze lenny" UBUNTU_DIST="natty maverick lucid karmic" +VERSION=4.2.20 diff --git a/configure.ac b/configure.ac index b7f3c74..7641cc0 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,9 @@ dnl This file is part of the YAZ toolkit. dnl Copyright (C) 1995-2011 Index Data AC_PREREQ([2.60]) -AC_INIT([yaz],[4.2.20],[yaz-help@indexdata.dk]) +AC_INIT([yaz], +m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']), +[yaz-help@indexdata.dk]) AC_CONFIG_HEADERS(include/config.h) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_AUX_DIR([config])