diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-30 23:26:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-30 23:26:00 +0000 |
commit | 46378ac4ffdea431fcd8094def46acaf1d0b9d92 (patch) | |
tree | c045f94d9fadfc9af81f91ac054e2e230842cdaa /common.mk | |
parent | 3f108b164ed5fb5bdac34ef9d558197a22a57fc9 (diff) |
* common.mk (RUBYOPT): clear for the environment RubyGems installed.
* common.mk (clean-local): keep $(PREP) files till distclean.
* common.mk (check): do all tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,6 +2,8 @@ bin: $(PROGRAM) $(WPROGRAM) lib: $(LIBRUBY); dll: $(LIBRUBY_SO); +RUBYOPT = + EXTCONF = extconf.rb RBCONFIG = ./.rbconfig.time @@ -117,7 +119,7 @@ post-install-doc:: PHONY clean: clean-ext clean-local clean-local:: @$(RM) $(OBJS) $(MAINOBJ) $(WINMAINOBJ) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY) $(LIBRUBY_ALIASES) - @$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(PREP) $(ARCHFILE) + @$(RM) $(PROGRAM) $(WPROGRAM) miniruby$(EXEEXT) dmyext.$(OBJEXT) $(ARCHFILE) clean-ext: @-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) clean @@ -125,13 +127,15 @@ distclean: distclean-ext distclean-local distclean-local:: clean-local @$(RM) $(MKFILES) config.h rbconfig.rb @$(RM) config.cache config.log config.status - @$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output ruby.imp + @$(RM) *~ *.bak *.stackdump core *.core gmon.out y.tab.c y.output $(PREP) distclean-ext: @-$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS) distclean realclean:: distclean @$(RM) parse.c lex.c +check: test test-all + test: miniruby$(EXEEXT) $(RBCONFIG) $(PROGRAM) PHONY @$(MINIRUBY) $(srcdir)/rubytest.rb |