[前][次][番号順一覧][スレッド一覧]

ruby-changes:34624

From: nobu <ko1@a...>
Date: Sun, 6 Jul 2014 08:38:29 +0900 (JST)
Subject: [ruby-changes:34624] nobu:r46707 (trunk): common.mk: ignore clean-runnable errors

nobu	2014-07-06 08:38:13 +0900 (Sun, 06 Jul 2014)

  New Revision: 46707

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46707

  Log:
    common.mk: ignore clean-runnable errors
    
    * common.mk (clean-runnable): get rid of errors running again after
      clean-runnable.

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 46706)
+++ common.mk	(revision 46707)
@@ -457,9 +457,9 @@ clean-local:: clean-runnable https://github.com/ruby/ruby/blob/trunk/common.mk#L457
 	$(Q)$(RM) y.tab.c y.output encdb.h transdb.h prelude.c config.log rbconfig.rb $(ruby_pc) probes.h probes.$(OBJEXT) probes.stamp ruby-glommed.$(OBJEXT)
 	$(Q)$(RM) GNUmakefile.old Makefile.old $(arch)-fake.rb
 clean-runnable:: PHONY
-	$(Q)$(CHDIR) bin && $(exec) $(RM) $(PROGRAM) $(WPROGRAM) $(GORUBY)$(EXEEXT) bin/*.$(DLEXT)
-	$(Q)$(CHDIR) lib && $(exec) $(RM) $(LIBRUBY_A) $(LIBRUBY) $(LIBRUBY_ALIASES) $(RUBY_BASE_NAME)/$(RUBY_PROGRAM_VERSION) $(RUBY_BASE_NAME)/vendor_ruby
-	$(Q)$(RMDIR) lib/$(RUBY_BASE_NAME) lib bin
+	$(Q)$(CHDIR) bin 2>$(NULL) && $(RM) $(PROGRAM) $(WPROGRAM) $(GORUBY)$(EXEEXT) bin/*.$(DLEXT) 2>$(NULL) || exit 0
+	$(Q)$(CHDIR) lib 2>$(NULL) && $(RM) $(LIBRUBY_A) $(LIBRUBY) $(LIBRUBY_ALIASES) $(RUBY_BASE_NAME)/$(RUBY_PROGRAM_VERSION) $(RUBY_BASE_NAME)/vendor_ruby 2>$(NULL) || exit 0
+	$(Q)$(RMDIR) lib/$(RUBY_BASE_NAME) lib bin 2>$(NULL) || exit 0
 clean-ext:: PHONY
 clean-golf: PHONY
 	$(Q)$(RM) $(GORUBY)$(EXEEXT) $(GOLFOBJS)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]