From: nobu.nakada@... Date: 2002-03-11T14:35:30+09:00 Subject: [ruby-dev:16316] clean, distclean なかだです。 make cleanでextmk.rb cleanが二回実行されます。また、 distclean-extを実行するときにはclean-extは不要じゃないでしょう か。 $ make -n distclean ./miniruby -Cext extmk.rb distclean 2> /dev/null || true ./miniruby -Cext extmk.rb clean 2> /dev/null || true rm -f array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o main.o libruby.a libruby.so.1.7.2 libruby.so.1.7 libruby.so rm -f ext/extinit.c ext/extinit.o dmyext.o ./miniruby -Cext extmk.rb clean 2> /dev/null || true rm -f ruby miniruby 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 $ ./config.status config.status: creating Makefile config.status: creating ext/extmk.rb $ make -n distclean ./miniruby -Cext extmk.rb distclean 2> /dev/null || true rm -f array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o main.o libruby.a libruby.so.1.7.2 libruby.so.1.7 libruby.so rm -f ext/extinit.c ext/extinit.o dmyext.o rm -f ruby miniruby 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 Index: Makefile.in =================================================================== RCS file: /cvs/ruby/src/ruby/Makefile.in,v retrieving revision 1.30 diff -u -2 -p -r1.30 Makefile.in --- Makefile.in 2002/01/11 15:36:11 1.30 +++ Makefile.in 2002/03/11 04:46:54 @@ -110,17 +110,20 @@ install: rbconfig.rb clean-ext:; @-@MINIRUBY@ -Cext extmk.rb clean 2> /dev/null || true -clean: clean-ext +clean-local: @rm -f $(OBJS) $(MAINOBJ) $(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) +clean: clean-ext clean-local + distclean-ext: @-@MINIRUBY@ -Cext extmk.rb distclean 2> /dev/null || true -distclean: distclean-ext clean +distclean-local: clean-local @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 + +distclean: distclean-ext distclean-local realclean: distclean -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦