summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION1
-rw-r--r--client/client.pro3
-rw-r--r--server/configure.in4
3 files changed, 6 insertions, 2 deletions
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