summaryrefslogtreecommitdiff
path: root/bcc32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-15 05:57:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-15 05:57:40 +0000
commitde556e6281860dd350f458e653052f8addf9ec6d (patch)
treeb9165e1a9d6957cce0651495e14f785cc655ec36 /bcc32
parent3c3b2fe143943f0a8a11767637088b3ca82c2d53 (diff)
* {win,bcc}32/setup.mak (-basic-vars-): expand BASERUBY to full path
to get rid of ./ruby.exe. * win32/enc-setup.mak: workaround for Borland make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32')
-rw-r--r--bcc32/setup.mak10
1 files changed, 9 insertions, 1 deletions
diff --git a/bcc32/setup.mak b/bcc32/setup.mak
index 0e0bb45d09..1cc87f3e80 100644
--- a/bcc32/setup.mak
+++ b/bcc32/setup.mak
@@ -15,7 +15,7 @@ prefix = /usr
OS = bccwin32
RT = $(OS)
BANG = !
-APPEND = echo>>$(MAKEFILE)
+APPEND = echo.>>$(MAKEFILE)
!ifdef MAKEFILE
MAKE = $(MAKE) -f $(MAKEFILE)
!else
@@ -42,7 +42,15 @@ $(BANG)endif
$(BANG)ifndef prefix
prefix = $(prefix:\=/)
$(BANG)endif
+$(BANG)if !defined(BASERUBY)
+!if defined(BASERUBY)
+BASERUBY = $(BASERUBY)
+!endif
|
+!if !defined(BASERUBY)
+ @for %I in (ruby.exe) do @echo BASERUBY = "%~$$PATH:I" >> $(MAKEFILE)
+!endif
+ @$(APPEND) $(BANG)endif
!if exist(confargs.mk)
@type confargs.mk >> $(MAKEFILE)
@del confargs.mk