summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Johnson <mjj29@hecate.matthew.ath.cx>2007-12-02 18:59:48 +0000
committerMatthew Johnson <mjj29@hecate.matthew.ath.cx>2007-12-02 18:59:48 +0000
commit0c7a8b7a43d9d81809808a90c5a8574a6040ac69 (patch)
treecb3faeef7d2a48b39c069befda823ed9eb7330b3
parentb5d2e07a8e80c04678e1ce5269e24366d294d5d9 (diff)
calculate versions from changelog
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bd9ab82..94b4067 100644
--- a/Makefile
+++ b/Makefile
@@ -40,8 +40,8 @@ JAVAUNIXJARDIR?=/usr/share/java
DEBUG=disable
# Version numbering
-VERSION = 2.3.2
-RELEASEVERSION = 2.3.1
+VERSION = $(shell sed -n '1s/.* \(.*\):/\1/p' changelog)
+RELEASEVERSION = $(shell sed -n '/^Version/s/.* \(.*\):/\1/p' changelog | sed -n '2p')
DISTFILES=dbus-java.tex Makefile org tmp-session.conf CreateInterface.sgml DBusDaemon.sgml ListDBus.sgml DBusViewer.sgml changelog AUTHORS COPYING README INSTALL CreateInterface.sh DBusDaemon.sh ListDBus.sh DBusViewer.sh DBusDaemon.bat CreateInterface.bat ListDBus.bat DBusViewer.bat compile.bat DBusCall.bat DBusCall.sh DBusCall.sgml