1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* {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
This commit is contained in:
nobu 2008-01-15 05:57:40 +00:00
parent 3c3b2fe143
commit de556e6281
4 changed files with 22 additions and 4 deletions

View file

@ -1,3 +1,10 @@
Tue Jan 15 14:57:38 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* {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.
Tue Jan 15 14:44:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.

View file

@ -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

View file

@ -1,6 +1,6 @@
BUILTIN_ENCOBJS:
BUILTIN_ENCOBJS: $(srcdir)/enc/Makefile.in
!include $(srcdir)/enc/Makefile.in
BUILTIN_ENCOBJS: $(srcdir)/enc/Makefile.in
BUILTIN_ENCOBJS:
@echo BUILTIN_ENCOBJS = $(BUILTIN_ENCS:.c=.obj) >> $(MAKEFILE)

View file

@ -13,7 +13,7 @@ srcdir = $(WIN32DIR)/..
prefix = /usr
!endif
BANG = !
APPEND = echo>>$(MAKEFILE)
APPEND = echo.>>$(MAKEFILE)
!ifdef MAKEFILE
MAKE = $(MAKE) -f $(MAKEFILE)
!else
@ -56,6 +56,9 @@ EXTOUT = $(EXTOUT)
BASERUBY = $(BASERUBY)
!endif
<<
!if !defined(BASERUBY)
@for %I in (ruby.exe) do @echo BASERUBY = "%~$$PATH:I" >> $(MAKEFILE)
!endif
-system-vars-: -runtime-