summaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-30 23:26:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-30 23:26:00 +0000
commit108a42ffc38ab94ab5954ebbd60668982b3ff307 (patch)
tree6c2ba143ea7fc19470f295b3201372da082169f8 /common.mk
parentc5105bb1f8f3f914224e1e1b50622bfb69d06e66 (diff)
downloadruby-108a42ffc38ab94ab5954ebbd60668982b3ff307.tar.gz
ruby-108a42ffc38ab94ab5954ebbd60668982b3ff307.tar.xz
ruby-108a42ffc38ab94ab5954ebbd60668982b3ff307.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@8225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 3a71fa8d7..e8b9a0823 100644
--- a/common.mk
+++ b/common.mk
@@ -2,6 +2,8 @@ bin: $(PROGRAM) $(WPROGRAM)
lib: $(LIBRUBY);
dll: $(LIBRUBY_SO);
+RUBYOPT =
+
EXTCONF = extconf.rb
RBCONFIG = ./.rbconfig.time
@@ -125,7 +127,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
@@ -133,13 +135,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