ruby-changes:9609
From: yugui <ko1@a...>
Date: Mon, 29 Dec 2008 14:51:48 +0900 (JST)
Subject: [ruby-changes:9609] Ruby:r21149 (trunk): * Makefile.in (ext-clean): ext-clean always fails.
yugui 2008-12-29 14:51:31 +0900 (Mon, 29 Dec 2008) New Revision: 21149 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21149 Log: * Makefile.in (ext-clean): ext-clean always fails. * ext/dl/ripper/extconf.rb: adds y.output into the clean list. Modified files: trunk/ChangeLog trunk/Makefile.in trunk/ext/ripper/extconf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 21148) +++ ChangeLog (revision 21149) @@ -1,3 +1,9 @@ +Mon Dec 29 14:50:19 2008 Yuki Sonoda (Yugui) <yugui@y...> + + * Makefile.in (ext-clean): ext-clean always fails. + + * ext/dl/ripper/extconf.rb: adds y.output into the clean list. + Mon Dec 29 11:58:39 2008 Koichi Sasada <ko1@a...> * thread.c (rb_mutex_trylock): return false if Mutex owned Index: Makefile.in =================================================================== --- Makefile.in (revision 21148) +++ Makefile.in (revision 21149) @@ -228,7 +228,11 @@ dir=`dirname "$$mk"`; \ echo $(@:-ext=)ing `expr "$$dir" : 'ext/\(.*\)'`; \ (cd "$$dir"; $(MAKE) $(MFLAGS) $(@:-ext=)) && \ - test $@ != clean-ext && rmdir -p "$$dir" 2> /dev/null; \ + if [ $@ == clean-ext ]; then \ + true; \ + else \ + rmdir -p "$$dir" 2> /dev/null; \ + fi; \ done ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP) Index: ext/ripper/extconf.rb =================================================================== --- ext/ripper/extconf.rb (revision 21148) +++ ext/ripper/extconf.rb (revision 21149) @@ -11,7 +11,7 @@ end end $objs = %w(ripper.o) - $cleanfiles.concat %w(ripper.y ripper.c ripper.E ripper.output eventids1.c eventids2table.c) + $cleanfiles.concat %w(ripper.y ripper.c ripper.E ripper.output y.output eventids1.c eventids2table.c) $defs << '-DRIPPER' $defs << '-DRIPPER_DEBUG' if $debug $VPATH << '$(topdir)' << '$(top_srcdir)' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/