* ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2005-09-19 06:12:35 +00:00
Родитель ae860f9a56
Коммит 70373e2e54
2 изменённых файлов: 12 добавлений и 6 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Mon Sep 19 15:12:15 2005 Minero Aoki <aamine@loveruby.net>
* ext/ripper/depend: do not make ripper/core.rb. [ruby-dev:26462]
Mon Sep 19 14:49:19 2005 Minero Aoki <aamine@loveruby.net>
* ext/ripper/eventids2.c: add prefix `t' to lambda related lexer

Просмотреть файл

@ -1,7 +1,6 @@
.SUFFIXES: .y
common: src rb
src: ripper.c eventids1.c
rb: $(srcdir)/lib/ripper/core.rb
c: ripper.c eventids1.c
dev: c rb
ripper.o: ripper.c $(hdrdir)/lex.c eventids1.c $(srcdir)/eventids2.c
@ -20,13 +19,16 @@ ids1: $(srcdir)/tools/list-parse-event-ids.rb $(hdrdir)/parse.y
ids2: $(srcdir)/tools/list-scan-event-ids.rb $(srcdir)/eventids2.c
$(RUBY) $(srcdir)/tools/list-scan-event-ids.rb -a $(srcdir)/eventids2.c > $@
$(srcdir)/lib/ripper/core.rb: $(srcdir)/lib/ripper/core.rb.in ids1 ids2 $(srcdir)/tools/generate-ripper_rb.rb
$(RUBY) $(srcdir)/tools/generate-ripper_rb.rb $@.in ids1 ids2 > $@
#
# Entries for only ripper developpers: DO NOT USE
#
# [WARNING]
# Never make core.rb automatically; it causes line terminator problem.
# See [ruby-dev:26462]
rb: $(srcdir)/lib/ripper/core.rb.in ids1 ids2 $(srcdir)/tools/generate-ripper_rb.rb
$(RUBY) $(srcdir)/tools/generate-ripper_rb.rb $(srcdir)/lib/ripper/core.rb.in ids1 ids2 > $(srcdir)/lib/ripper/core.rb
test:
$(RUBY) test/check-event-arity.rb $(hdrdir)/parse.y
sh test/check-event-coverage.sh