some build/install tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-19 01:14:01 +00:00
parent d359a38002
commit 82fb2b744f
2 changed files with 25 additions and 23 deletions

View File

@@ -612,11 +612,13 @@ def getExtraPath(shortVer=True, addOpts=False):
if shortVer:
# short version, just Major.Minor
ep = "wx-%d.%d" % (VER_MAJOR, VER_MINOR)
# plus release if minor is odd
if VER_MINOR % 2 == 1:
ep += ".%d" % VER_RELEASE
##ep = "wx-%d.%d.%d" % (VER_MAJOR, VER_MINOR, VER_RELEASE)
else:
# long version, full version
ep = "wx-%d.%d.%d.%d" % (VER_MAJOR, VER_MINOR, VER_RELEASE, VER_SUBREL)
@@ -869,11 +871,9 @@ except:
if UNICODE:
BUILD_BASE = BUILD_BASE + '.unicode'
##VER_FLAGS += 'u'
if os.path.exists('DAILY_BUILD'):
VER_FLAGS += '-' + open('DAILY_BUILD').read().strip()
VER_FLAGS += '.' + open('DAILY_BUILD').read().strip()
VERSION = "%s.%s.%s.%s%s" % (VER_MAJOR, VER_MINOR, VER_RELEASE,
VER_SUBREL, VER_FLAGS)