* Makefile.in (ext-clean): ext-clean always fails.

* ext/dl/ripper/extconf.rb: adds y.output into the clean list.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-12-29 05:51:31 +00:00
parent b2ad49565f
commit 69b2c8cc44
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Mon Dec 29 14:50:19 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* 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@atdot.net>
* thread.c (rb_mutex_trylock): return false if Mutex owned

View File

@ -228,7 +228,11 @@ clean-ext distclean-ext realclean-ext::
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)

View File

@ -11,7 +11,7 @@ def main
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)'