diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-08 02:56:12 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-08 02:56:12 +0000 |
commit | c571d4702ec568a16f1b3ee912a8cf996b480f8d (patch) | |
tree | 902163b7ae5eec4db3a762aedc91eebaf0a887a8 | |
parent | 72734ac15451af26a7eac789cfaa3ed61bd002f8 (diff) |
* lex.c.blt: moved from lex.c.
* Makefile.in: use lex.c.blt if gperf is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.in | 9 | ||||
-rw-r--r-- | lex.c.blt (renamed from lex.c) | 0 |
3 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Fri Jun 8 11:54:18 2007 Tanaka Akira <[email protected]> + + * lex.c.blt: moved from lex.c. + + * Makefile.in: use lex.c.blt if gperf is not available. + Thu Jun 7 21:38:39 2007 Koichi Sasada <[email protected]> * thread.c (rb_thread_execute_interrupts): invoke ensure when diff --git a/Makefile.in b/Makefile.in index 5a65d34a04..4dba2db716 100644 --- a/Makefile.in +++ b/Makefile.in @@ -160,9 +160,12 @@ $(srcdir)/configure: $(srcdir)/configure.in cd $(srcdir) && $(AUTOCONF) lex.c: keywords - @-$(RM) $@ - gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@ || \ - cp "$(srcdir)/$@" . + ( \ + gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > [email protected] && \ + cp [email protected] $@ && \ + mv [email protected] "$(srcdir)/[email protected]" \ + ) || \ + cp "$(srcdir)/[email protected]" $@ .y.c: $(YACC) $(YFLAGS) -o $@ $< |