X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=configure.ac;h=db1eb8956aae74dff0f05747e10988aa51b620d6;hp=3473ea9a868e4c0fef72be005105d83deecadc7c;hb=c00bfddbf0f3608340d61298acc61dafb167f9b2;hpb=a1163dfc2ca4791ddf44fc5cbf9ef02c0bd2eb22 diff --git a/configure.ac b/configure.ac index 3473ea9..db1eb89 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,10 @@ dnl This file is part of the Zebra server. -dnl Copyright (C) 1994-2011 Index Data +dnl Copyright (C) Index Data. See LICENSE.zebra for details. dnl AC_PREREQ(2.60) -AC_INIT([idzebra],[2.0.47],[zebra-help@indexdata.dk]) +AC_INIT([idzebra], +m4_esyscmd([. ./IDMETA; echo $VERSION|tr -d '\n']), +[zebra-help@indexdata.dk]) AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_AUX_DIR([config]) @@ -309,7 +311,7 @@ AC_OUTPUT([ include/Makefile include/idzebra/Makefile tab/Makefile doc/Makefile - doc/local.ent + doc/local0.ent doc/common/Makefile doc/common/print.dsl test/Makefile test/gils/Makefile test/usmarc/Makefile test/api/Makefile @@ -332,7 +334,11 @@ AC_OUTPUT([ Doxyfile win/version.nsi include/idzebra/version.h -],[sed s%echo_source=yes%echo_source=no%g < idzebra-config-2.0 > util/idzebra-config-2.0 && chmod +x idzebra-config-2.0 util/idzebra-config-2.0]) +],[ + sed s%echo_source=yes%echo_source=no%g < idzebra-config-2.0 > util/idzebra-config-2.0 && chmod +x idzebra-config-2.0 util/idzebra-config-2.0 + diff doc/local.ent doc/local0.ent >/dev/null 2>/dev/null \ + || cp doc/local0.ent doc/local.ent +]) echo \ "------------------------------------------------------------------------