ruby-changes:33704
From: nobu <ko1@a...>
Date: Fri, 2 May 2014 12:26:54 +0900 (JST)
Subject: [ruby-changes:33704] nobu:r45785 (trunk): mkmf.rb: no messages unless needed
nobu 2014-05-02 12:26:48 +0900 (Fri, 02 May 2014) New Revision: 45785 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45785 Log: mkmf.rb: no messages unless needed * lib/mkmf.rb (create_makefile): no library scripts to install, no installing messages. Modified files: trunk/lib/mkmf.rb Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 45784) +++ lib/mkmf.rb (revision 45785) @@ -2310,7 +2310,11 @@ static: $(STATIC_LIB)#{$extout ? " insta https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2310 end end mfile.print "pre-install-rb#{sfx}:\n" - mfile.print("\t$(ECHO) installing#{sfx.sub(/^-/, " ")} #{target} libraries\n") + if files.empty? + mfile.print("\t@#{CONFIG['NULLCMD']}\n") + else + mfile.print("\t$(ECHO) installing#{sfx.sub(/^-/, " ")} #{target} libraries\n") + end if $extout dirs.uniq! unless dirs.empty? -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/