mirror of https://git.wownero.com/dsc/mxe.git
reveal the current version number automatically from doc/index.html
This commit is contained in:
parent
78987b7421
commit
2ea2cdb8b2
2
Makefile
2
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 =
|
||||
|
|
|
@ -405,7 +405,7 @@ USE_OSGPLUGIN(<plugin2>)
|
|||
|
||||
<dl>
|
||||
|
||||
<dt>2010-xx-xx – Release 2.11</dt>
|
||||
<dt>2010-xx-xx – 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> |
|
||||
|
|
Loading…
Reference in New Issue