mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
d3bce8cb5a
* ext/ripper/eventids2.c: ditto. * ext/ripper/lib/ripper.rb: ditto. * ext/ripper/depend (ripper.o): No action is needed. [ruby-dev:24260] * ext/ripper/depend: Borland make does not accept pipes in Makefile rules. [ruby-dev:24589] * ext/ripper/depend: separate rules for developpers. * ext/ripper/Makefile.dev: new file. * ext/ripper/MANIFEST: add Makefile.dev. * ext/ripper/tools/generate-eventids1.rb: read from file, not stdin. * ext/ripper/extconf.rb: clean ripper.E. * ext/ripper/tools/generate-ripper_rb.rb: #include ids1/ids2 function was lost. * ext/ripper/tools/generate-ripper_rb.rb: SCANNER_EVENTS wrongly contained parser events. * ext/ripper/lib/ripper.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
18 lines
545 B
Text
18 lines
545 B
Text
# Makefile for ripper developpers
|
|
# !!! This file requires GNU make !!!
|
|
|
|
include Makefile
|
|
|
|
lib/ripper.rb: $(srcdir)/ripper.rb.in ids1 ids2 $(srcdir)/tools/generate-ripper_rb.rb
|
|
$(RUBY) $(srcdir)/tools/generate-ripper_rb.rb $(srcdir)/ripper.rb.in ids1 ids2 > $@
|
|
|
|
test:
|
|
$(RUBY) test/check-event-arity.rb $(hdrdir)/parse.y
|
|
sh test/check-event-coverage.sh
|
|
$(RUBY) test/check-scanner-event-coverage.rb
|
|
$(RUBY) test/validate.rb > /dev/null
|
|
@echo OK
|
|
|
|
preproc: ripper.E
|
|
ripper.E: ripper.c
|
|
$(CC) -E $(CPPFLAGS) ripper.c | ruby tools/strip.rb > $@
|