mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 17:39:58 +00:00
Scons: Allow the use of newer versions of scons such as scons 1.0.0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26308 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ed26a97179
commit
a615565a4f
@ -42,16 +42,8 @@ from scons_manifest import *
|
|||||||
|
|
||||||
# scons asks for 1.5.2, lyx requires 2.3
|
# scons asks for 1.5.2, lyx requires 2.3
|
||||||
EnsurePythonVersion(2, 3)
|
EnsurePythonVersion(2, 3)
|
||||||
# Please use at least 0.96.92 (not 0.96.1)
|
# Please use at least version 0.97
|
||||||
EnsureSConsVersion(0, 96)
|
EnsureSConsVersion(0, 97)
|
||||||
# also check for minor version number for scons 0.96
|
|
||||||
from SCons import __version__
|
|
||||||
__version__ = __version__.split('d')[0]
|
|
||||||
version = map(int, __version__.split('.'))
|
|
||||||
if version[0] == 0 and version[1] == 96 and version[2] < 92:
|
|
||||||
print "Scons >= 0.96.92 is required."
|
|
||||||
Exit(1)
|
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------
|
#----------------------------------------------------------
|
||||||
# Global definitions
|
# Global definitions
|
||||||
|
@ -55,6 +55,7 @@ What's new
|
|||||||
|
|
||||||
* BUILD
|
* BUILD
|
||||||
|
|
||||||
|
- Allow the use of newer versions of scons such as scons 1.0.0.
|
||||||
|
|
||||||
|
|
||||||
** Bug fixes:
|
** Bug fixes:
|
||||||
|
Loading…
Reference in New Issue
Block a user