X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=configure.ac;h=347548253de8f2f4d5bfbf953ac192960b2f3db5;hp=65c4883584dd4da2c94cec84b9cd6e26855dca1a;hb=3144b692316e7258abc4400b01c3da76f52eb42a;hpb=732870c555c7d32c5d2b6a4914c6fa7232eb26b2 diff --git a/configure.ac b/configure.ac index 65c4883..3475482 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) 2004-2013 Index Data dnl AC_PREREQ(2.60) -AC_INIT([idzebra],[2.0.50],[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 \ "------------------------------------------------------------------------