зеркало из https://github.com/github/ruby.git
Ripper source on mswin
* Get rid of command substitution for cmd.exe. * Separate RM1 command to remove single file sans directory.
This commit is contained in:
Родитель
046f1bf492
Коммит
98c5907c65
|
@ -1189,10 +1189,10 @@ $(REVISION_H): revision.tmp
|
|||
|
||||
$(srcdir)/ext/ripper/ripper.c: $(srcdir)/ext/ripper/tools/preproc.rb $(srcdir)/parse.y id.h $(srcdir)/ext/ripper/depend
|
||||
$(ECHO) generating $@
|
||||
$(Q) VPATH=$${PWD-`pwd`} && $(CHDIR) $(@D) && \
|
||||
$(Q) $(CHDIR) $(@D) && \
|
||||
sed -e 's/{\$$([^(){}]*)[^{}]*}//g' -e /AUTOGENERATED/q depend | \
|
||||
$(exec) $(MAKE) -f - $(mflags) \
|
||||
Q=$(Q) ECHO=$(ECHO) RM="$(RM)" BISON=$(YACC) top_srcdir=../.. srcdir=. VPATH="$${VPATH}" \
|
||||
Q=$(Q) ECHO=$(ECHO) RM="$(RM1)" BISON=$(YACC) top_srcdir=../.. srcdir=. VPATH=../.. \
|
||||
RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)" LANG=C
|
||||
|
||||
$(srcdir)/ext/json/parser/parser.c: $(srcdir)/ext/json/parser/parser.rl $(srcdir)/ext/json/parser/prereq.mk
|
||||
|
|
|
@ -208,6 +208,7 @@ MAKEDIRS = @MKDIR_P@
|
|||
CP = cp
|
||||
MV = mv
|
||||
RM = rm -f
|
||||
RM1 = $(RM)
|
||||
RMDIR = @RMDIR@
|
||||
RMDIRS = @RMDIRS@
|
||||
RMALL = @RMALL@
|
||||
|
|
|
@ -89,6 +89,7 @@ RMALL = $(COMSPEC) /C $(srcdir:/=\)\win32\rm.bat -f -r
|
|||
MAKEDIRS = $(COMSPEC) /E:ON /C $(srcdir:/=\)\win32\makedirs.bat
|
||||
CP = copy > nul
|
||||
MV = move > nul
|
||||
RM1 = del /f /q
|
||||
!if !defined(BASERUBY)
|
||||
BASERUBY = ruby
|
||||
!endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче