From cea5aeb795149cead9a9cb151a4754c6ce185d13 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sun, 6 Sep 2009 20:22:18 +0000 Subject: [PATCH] * Makefile.in, common.mk: move a id.h generation rule. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ Makefile.in | 3 --- common.mk | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 996efb090b..5d54fbeee5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 7 05:21:09 2009 Koichi Sasada + + * Makefile.in, common.mk: move a id.h generation rule. + Mon Sep 7 05:07:59 2009 Koichi Sasada * benchmark/driver.rb: remove RUBY_VERSION output. diff --git a/Makefile.in b/Makefile.in index fba1040008..5843ed030d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -185,9 +185,6 @@ $(srcdir)/configure: $(srcdir)/configure.in $(CHDIR) $(srcdir) && exec $(AUTOCONF) incs: id.h -id.h: parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl - $(BASERUBY) $(srcdir)/tool/generic_erb.rb --output=$@ \ - $(srcdir)/template/id.h.tmpl --vpath=$(VPATH) parse.h # Things which should be considered: # * with gperf v.s. without gperf diff --git a/common.mk b/common.mk index bd574f5ba0..18901abafe 100644 --- a/common.mk +++ b/common.mk @@ -686,6 +686,10 @@ incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}encdb.h {$(VPATH)}transdb.h {$( insns: $(INSNS) +id.h: parse.h $(srcdir)/tool/generic_erb.rb $(srcdir)/template/id.h.tmpl + $(BASERUBY) $(srcdir)/tool/generic_erb.rb --output=$@ \ + $(srcdir)/template/id.h.tmpl --vpath=$(VPATH) parse.h + node_name.inc: {$(VPATH)}node.h $(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@