mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* common.mk: partially revert r40183, which breaks building on
other than source directory. (its commit log also says the same thing, but such failure is not reproducible on my environment and the commit breaks build on my environment) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
91d5cda26d
commit
c0c86b55a8
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
Thu Apr 11 19:59:48 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* common.mk: partially revert r40183, which breaks building on
|
||||
other than source directory. (its commit log also says the same
|
||||
thing, but such failure is not reproducible on my environment
|
||||
and the commit breaks build on my environment)
|
||||
|
||||
Thu Apr 11 16:10:01 2013 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/fiddle/closure.c (USE_FFI_CLOSURE_ALLOC): define 0 on
|
||||
|
|
|
@ -581,7 +581,7 @@ PHONY:
|
|||
|
||||
{$(srcdir)}.y.c:
|
||||
$(ECHO) generating $@
|
||||
$(Q)$(BASERUBY) $(srcdir)/tool/id2token.rb --path-separator=.$(PATH_SEPARATOR)./ --vpath=$(VPATH) $(srcdir)/id.h $(SRC_FILE) > parse.tmp.y
|
||||
$(Q)$(BASERUBY) $(srcdir)/tool/id2token.rb --path-separator=.$(PATH_SEPARATOR)./ --vpath=$(VPATH) id.h $(SRC_FILE) > parse.tmp.y
|
||||
$(Q)$(YACC) -d $(YFLAGS) -o y.tab.c parse.tmp.y
|
||||
$(Q)$(RM) parse.tmp.y
|
||||
$(Q)sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!parse\.tmp\.[iy]!parse.y!" -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new
|
||||
|
@ -874,12 +874,12 @@ incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}encdb.h {$(VPATH)}transdb.h {$(
|
|||
|
||||
insns: $(INSNS)
|
||||
|
||||
$(srcdir)/id.h: $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl $(srcdir)/defs/id.def
|
||||
id.h: $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl $(srcdir)/defs/id.def
|
||||
$(ECHO) generating $@
|
||||
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb --output=$@ \
|
||||
$(srcdir)/template/id.h.tmpl
|
||||
|
||||
$(srcdir)/id.c: $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.c.tmpl $(srcdir)/defs/id.def
|
||||
id.c: $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.c.tmpl $(srcdir)/defs/id.def
|
||||
$(ECHO) generating $@
|
||||
$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb --output=$@ \
|
||||
$(srcdir)/template/id.c.tmpl
|
||||
|
@ -934,7 +934,7 @@ $(REVISION_H): $(srcdir)/version.h $(srcdir)/ChangeLog $(srcdir)/tool/file2lastr
|
|||
-$(Q) $(BASERUBY) $(srcdir)/tool/file2lastrev.rb --revision.h "$(srcdir)" > revision.tmp
|
||||
$(Q)$(IFCHANGE) "--timestamp=$@" "$(srcdir)/revision.h" revision.tmp
|
||||
|
||||
$(srcdir)/ext/ripper/ripper.c: parse.y $(srcdir)/id.h
|
||||
$(srcdir)/ext/ripper/ripper.c: parse.y id.h
|
||||
$(ECHO) generating $@
|
||||
$(Q) $(CHDIR) $(@D) && $(exec) $(MAKE) -f depend $(MFLAGS) \
|
||||
Q=$(Q) ECHO=$(ECHO) top_srcdir=../.. srcdir=. VPATH=../.. RUBY="$(BASERUBY)" PATH_SEPARATOR="$(PATH_SEPARATOR)"
|
||||
|
|
Loading…
Reference in a new issue