# HG changeset patch # User Volker Grabsch # Date 1265375186 -3600 # Node ID 19073a2914b96672de20e13676be72429379d641 # Parent ff047093f2a8b52e8fcec71c11b4147807051880 reveal the current version number automatically from doc/index.html diff -r ff047093f2a8 -r 19073a2914b9 Makefile --- a/Makefile Fri Feb 05 05:12:28 2010 +0100 +++ b/Makefile Fri Feb 05 14:06:26 2010 +0100 @@ -5,7 +5,6 @@ TARGET := i686-pc-mingw32 SOURCEFORGE_MIRROR := kent.dl.sourceforge.net -VERSION := 2.11 PREFIX := $(PWD)/usr LOG_DIR := $(PWD)/log TIMESTAMP := $(shell date +%Y%m%d_%H%M%S) @@ -18,6 +17,7 @@ SHELL := bash SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install +VERSION := $(shell $(SED) -n 's,^.*\([^<]*\).*$$,\1,p' '$(TOP_DIR)/doc/index.html') # unset any environment variables which might cause trouble AR = diff -r ff047093f2a8 -r 19073a2914b9 doc/index.html --- a/doc/index.html Fri Feb 05 05:12:28 2010 +0100 +++ b/doc/index.html Fri Feb 05 14:06:26 2010 +0100 @@ -405,7 +405,7 @@
-
2010-xx-xx – Release 2.11
+
2010-xx-xx – Release 2.11

Download |