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 | c65be08b84a200c68f87d1e9fb5acc0f3cf3b509 (patch) | |
tree | b0024ff2934773ace47d21e9950cbbcd58e25e23 /common.mk | |
parent | 25b30f191fb6e4ebe0caaa0c4f604b3da9e466f7 (diff) | |
download | ruby-c65be08b84a200c68f87d1e9fb5acc0f3cf3b509.tar.gz ruby-c65be08b84a200c68f87d1e9fb5acc0f3cf3b509.tar.xz ruby-c65be08b84a200c68f87d1e9fb5acc0f3cf3b509.zip |
* Makefile.in, */Makefile.sub (CP, MV): added.
* common.mk (.y.c): not discard the old target until successfully
created.
git-svn-id: http://svn.ruby-lang.org/repos/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 |