diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-11 07:19:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-11 07:19:28 +0000 |
commit | 7554dd13468b105faec11f5d8ffef4499381c59d (patch) | |
tree | b0024ff2934773ace47d21e9950cbbcd58e25e23 /common.mk | |
parent | 2db98d937aa31ae832896e55b3293eea2c9204f3 (diff) | |
download | ruby-7554dd13468b105faec11f5d8ffef4499381c59d.tar.gz |
* Makefile.in, */Makefile.sub (CP, MV): added.
* common.mk (.y.c): not discard the old target until successfully
created.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -355,8 +355,9 @@ PHONY: {$(srcdir)}.y.c: $(YACC) $(YFLAGS) -o y.tab.c $< - sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@ - @$(RM) y.tab.c + sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new + @$(RM) $@ y.tab.c + @$(MV) $@.new $@ acosh.$(OBJEXT): {$(VPATH)}acosh.c alloca.$(OBJEXT): {$(VPATH)}alloca.c |