summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-08 09:21:59 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-08 09:21:59 +0000
commitcf4451e8c27936dcd71b5eac7105ff52e02f1e95 (patch)
tree14d1818ca2fd8543ef14ccdcb47c55827bdf9815 /Makefile.in
parentdc98adf839d0d68c4c18647a1db2fb3dc9be8cc4 (diff)
* file.c (path_check_1): forgot to initialize 'p'.
* mkconfig.rb: use String#dump to generate Ruby string literal. * range.c (range_eql): should override 'eql?' * array.c (rb_ary_hash): should override 'hash' too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index bd197de..a8d1ad7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -107,14 +107,19 @@ $(LIBRUBY_SO): $(OBJS) dmyext.@OBJEXT@ miniruby$(EXEEXT)
install: rbconfig.rb
@MINIRUBY@ $(srcdir)/instruby.rb $(DESTDIR)
-clean:; @rm -f $(OBJS) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY_ALIASES) $(MAINOBJ) rbconfig.rb
+clean-ext:; @-@MINIRUBY@ -Cext extmk.rb clean 2> /dev/null || true
+
+clean: clean-ext
+ @rm -f $(OBJS) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY_ALIASES)
@rm -f ext/extinit.c ext/extinit.@OBJEXT@ dmyext.@OBJEXT@
@-@MINIRUBY@ -Cext extmk.rb clean 2> /dev/null || true
@rm -f $(PROGRAM) miniruby$(EXEEXT)
-distclean:; @-@MINIRUBY@ -Cext extmk.rb distclean 2> /dev/null || true
- $(MAKE) clean
- @rm -f Makefile ext/extmk.rb config.h
+distclean-ext:
+ @-@MINIRUBY@ -Cext extmk.rb distclean 2> /dev/null || true
+
+distclean: distclean-ext clean
+ @rm -f Makefile ext/extmk.rb config.h rbconfig.rb
@rm -f ext/config.cache config.cache config.log config.status
@rm -f *~ core *.core gmon.out y.tab.c y.output ruby.imp