From 0c7a8b7a43d9d81809808a90c5a8574a6040ac69 Mon Sep 17 00:00:00 2001 From: Matthew Johnson Date: Sun, 2 Dec 2007 18:59:48 +0000 Subject: calculate versions from changelog --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3