mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix make clean
errors
Patch by Kohei Suzuki <eagletmt@gmail.com>. * common.mk(clean-rubyspec): Supress error messages when rubyspec files don't exist. [GH-1563] [Bug #13384] * Makefile.in: Fix error when files don't exist. [GH-1563] [Bug #13384] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b6639a8409
commit
225435514c
2 changed files with 2 additions and 2 deletions
|
@ -421,7 +421,7 @@ ext/distclean.sub gems/distclean.sub:: ext/distclean.mk
|
|||
ext/realclean.sub gems/realclean.sub:: ext/realclean.mk
|
||||
|
||||
ext/clean.mk ext/distclean.mk ext/realclean.mk::
|
||||
$(Q) [ -f $(EXTS_MK) ] && exec $(MAKE) -f $(EXTS_MK) $(@F:.mk=)
|
||||
-$(Q) if [ -f $(EXTS_MK) ]; then exec $(MAKE) -f $(EXTS_MK) $(@F:.mk=); fi
|
||||
|
||||
ext/clean:: ext/clean.sub
|
||||
ext/distclean:: ext/distclean.sub
|
||||
|
|
|
@ -621,7 +621,7 @@ clean-platform:
|
|||
RUBYSPEC_CAPIEXT = spec/rubyspec/optional/capi/ext
|
||||
clean-rubyspec: PHONY
|
||||
-$(Q) $(RM) $(RUBYSPEC_CAPIEXT)/*.$(OBJEXT) $(RUBYSPEC_CAPIEXT)/*.$(DLEXT)
|
||||
-$(Q) $(RMDIRS) $(RUBYSPEC_CAPIEXT)
|
||||
-$(Q) $(RMDIRS) $(RUBYSPEC_CAPIEXT) 2> $(NULL) || exit 0
|
||||
|
||||
check: main test test-testframework test-almost
|
||||
$(ECHO) check succeeded
|
||||
|
|
Loading…
Reference in a new issue