reveal the current version number automatically from doc/index.html

This commit is contained in:
Volker Grabsch 2010-02-05 14:06:26 +01:00
parent 78987b7421
commit 2ea2cdb8b2
2 changed files with 2 additions and 2 deletions

View File

@ -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 =

View File

@ -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> |