2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-18 01:52:17 +00:00

Kill all uses of SUBST, which fails on long input.

[SVN r14714]
This commit is contained in:
Vladimir Prus
2002-08-06 15:21:02 +00:00
parent c4ca067b26
commit 2fe9600256
8 changed files with 68 additions and 28 deletions

View File

@@ -17,8 +17,9 @@ else if $(UNIX)
# Strip the dot from the Python version in order to be able to name
# libraries
PYTHON_VERSION_NODOT
= [ SUBST $(PYTHON_VERSION) ([0-9]*)\.([0-9]*) $1$2 ]
= [ MATCH ([0-9]*)\.([0-9]*) : $(PYTHON_VERSION) ]
;
PYTHON_VERSION_NODOT = $(PYTHON_VERSION_NODOT:J=) ;
local RUN_PATH = $(RUN_PATH) ;
@@ -429,7 +430,7 @@ rule python-runtest-aux ( target : sources + )
if $(p:R=xx) = $(p)
{
p = [ split-path $(p) ] ;
p = [ join-path /cygdrive [ SUBST $(p[1]) ^(.).* $1 ] $(p[2-]) ] ;
p = [ join-path /cygdrive [ MATCH ^(.).* : $(p[1]) ] $(p[2-]) ] ;
}
pp += $(p) ;
}