mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* Makefile.in (lex.c): try gperf first, and copy from the source
directory if failed. [ruby-dev:22123] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
835e16733d
commit
e3bab670fc
2 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,7 @@
|
|||
Wed Dec 3 11:36:42 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Wed Dec 3 13:28:13 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* Makefile.in (lex.c): try gperf first, and copy from the source
|
||||
directory if failed. [ruby-dev:22123]
|
||||
|
||||
* ext/extmk.rb (MTIMES): let makefiles depend to mkmf.rb.
|
||||
|
||||
|
|
|
@ -222,11 +222,9 @@ $(srcdir)/configure: $(srcdir)/configure.in
|
|||
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
|
||||
|
||||
lex.c: keywords
|
||||
if test "$(srcdir)" = "."; then \
|
||||
gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $> > $@; \
|
||||
else \
|
||||
cp $(srcdir)/lex.c .; \
|
||||
fi
|
||||
@-rm -f $@
|
||||
gperf -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $> > $@ || \
|
||||
cp "$(srcdir)/$@" .
|
||||
|
||||
.y.c:
|
||||
$(YACC) $<
|
||||
|
|
Loading…
Add table
Reference in a new issue