Skip to content

Commit

Permalink
* Makefile.in, common.mk: move a id.h generation rule.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
ko1 committed Sep 6, 2009
1 parent dd7f563 commit cea5aeb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 0 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 $? > $@

Expand Down

0 comments on commit cea5aeb

Please sign in to comment.