X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.ac;h=347548253de8f2f4d5bfbf953ac192960b2f3db5;hb=bb39ca3dd76e6339f66813bca1e64b644760e5a2;hp=1797d21cefa5afc90d6f7cbd92ad83ac66cb30f8;hpb=fec8f47eacbe9ca2a8868eb8aac9888c260999a9;p=idzebra-moved-to-github.git diff --git a/configure.ac b/configure.ac index 1797d21..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.49],[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 \ "------------------------------------------------------------------------