diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-25 07:20:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-25 07:20:31 +0000 |
commit | 4d887d8b71f3c52d3639a76af394f9ff7154668d (patch) | |
tree | 5b2da578d0b776835d8f9dd290ba92d05eee8d12 | |
parent | bcbc1f722c0ab7e26334c6fdafab502f4f021860 (diff) | |
download | ruby-4d887d8b71f3c52d3639a76af394f9ff7154668d.tar.gz |
common.mk: update parse.h
* common.mk (.y.h): update the header unconditionally
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | common.mk | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -562,7 +562,7 @@ $(ENC_MK): $(srcdir)/enc/make_encmake.rb $(srcdir)/enc/Makefile.in $(srcdir)/enc PHONY: {$(VPATH)}parse.c: {$(VPATH)}parse.y $(srcdir)/tool/ytab.sed -parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c +{$(VPATH)}parse.h: {$(VPATH)}parse.c {$(srcdir)}.y.c: $(ECHO) generating $@ @@ -574,8 +574,7 @@ parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c {$(srcdir)}.y.h: $(ECHO) generating $@ $(Q)$(YACC) -d $(YFLAGS) -o y.tab.c $(SRC_FILE) - $(Q)sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > $(@:.c=.h).new - $(Q)$(IFCHANGE) $(@:.c=.h) $(@:.c=.h).new + $(Q)sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > $(@:.c=.h) $(Q)$(RM) y.tab.c y.tab.h acosh.$(OBJEXT): {$(VPATH)}acosh.c |