summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--doc/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 035f7e7..e0a9e58 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,6 @@ JOBS := 1
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 @@ PATH := $(PREFIX)/bin:$(PATH)
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,^.*<span id="latest-version">\([^<]*\)</span>.*$$,\1,p' '$(TOP_DIR)/doc/index.html')
# unset any environment variables which might cause trouble
AR =
diff --git a/doc/index.html b/doc/index.html
index 6f2b3d7..845c8a7 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -405,7 +405,7 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
<dl>
- <dt>2010-xx-xx &ndash; Release 2.11</dt>
+ <dt>2010-xx-xx &ndash; Release <span id="latest-version">2.11</span></dt>
<dd>
<p>
<a href="http://download.savannah.nongnu.org/releases/mingw-cross-env/mingw-cross-env-2.11.tar.gz">Download</a> |