summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-06 20:22:18 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-06 20:22:18 +0000
commitcea5aeb795149cead9a9cb151a4754c6ce185d13 (patch)
treed8f48f19769cf8eafdfea00efb3bcfedd369a2ef
parentdd7f5639a989ecec4aa8a30f36e89ef40a51e284 (diff)
* 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
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.in3
-rw-r--r--common.mk4
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 <ko1@atdot.net>
+
+ * Makefile.in, common.mk: move a id.h generation rule.
+
Mon Sep 7 05:07:59 2009 Koichi Sasada <ko1@atdot.net>
* 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 $? > $@