From: Adam Dickmeiss Date: Tue, 17 Feb 2009 08:16:07 +0000 (+0100) Subject: Zebra version autocreated by configure for NSIS spec. X-Git-Tag: v2.0.36~1 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=cb8fefbb513a354a7fecf50383d1857fce6ae9b3;hp=6895e8a699bfea8f61ca5b16b5fcc1d22495b744 Zebra version autocreated by configure for NSIS spec. --- diff --git a/Makefile.am b/Makefile.am index b032354..cf2bad5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,7 @@ EXTRA_DIST= README NEWS $(SPEC_FILE) $(SPEC_FILE).in \ dist-hook: if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi cp $(srcdir)/LICENSE* $(distdir) - mkdir $(distdir)/win + test -d $(distdir)/win || mkdir $(distdir)/win for i in $(srcdir)/win/*; do \ if test -f $$i; then \ cp $$i $(distdir)/win; \ diff --git a/configure.ac b/configure.ac index f8709ed..1011e4e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl This file is part of the Zebra server. -dnl Copyright (C) 1994-2008 Index Data +dnl Copyright (C) 1994-2009 Index Data dnl AC_PREREQ(2.60) AC_INIT([idzebra],[2.0.34],[zebra-help@indexdata.dk]) @@ -348,6 +348,7 @@ AC_OUTPUT([ idzebra.spec idzebra-config-2.0 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]) diff --git a/win/version.nsi.in b/win/version.nsi.in new file mode 100644 index 0000000..5fa481b --- /dev/null +++ b/win/version.nsi.in @@ -0,0 +1,2 @@ +!define VERSION "@PACKAGE_VERSION@" + diff --git a/win/zebra.nsi b/win/zebra.nsi index dc10794..d805e7c 100644 --- a/win/zebra.nsi +++ b/win/zebra.nsi @@ -1,4 +1,4 @@ -!define VERSION "2.0.34" +!include version.nsi ; VS 2005 ; !define VS_RUNTIME_DLL "c:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\msvcr80.dll"