From 3627a1908547f656f8be5dcb94dbb570d41b0c7c Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 31 Jan 2011 13:40:33 +0000 Subject: Common client/server version file. --- VERSION | 1 + client/client.pro | 3 ++- server/configure.in | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 VERSION diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..de0e66e --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +VERSION=2.0.0 \ No newline at end of file diff --git a/client/client.pro b/client/client.pro index 509ad9d..d43e28d 100644 --- a/client/client.pro +++ b/client/client.pro @@ -16,7 +16,8 @@ debug { DEFINES+=USE_DEBUG } -DEFINES+=VERSION=\\\"2.0.0-r2\\\" +include(../VERSION) +DEFINES+=VERSION=\\\"$$VERSION\\\" win32 { LIBPATH += lua/lib diff --git a/server/configure.in b/server/configure.in index 18d3144..63a7111 100644 --- a/server/configure.in +++ b/server/configure.in @@ -1,7 +1,9 @@ # Filename: configure.in AC_INIT(src/pracrod.cc) -AM_INIT_AUTOMAKE( pracrod, 2.0.0-beta2 ) + +VERSION="`cat ../VERSION | cut -d'=' -f2`" +AM_INIT_AUTOMAKE( pracrod, $VERSION ) dnl ====================== dnl Compile with debug options -- cgit v1.2.3