diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-02 03:26:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-02 03:26:48 +0000 |
commit | 29a2fe128a95d133acb72e06c0b4321bc91524b5 (patch) | |
tree | 4bde7fd7ec3df19fc15d28a46fba6e3d073c6517 /lib/mkmf.rb | |
parent | ff99fd4de1037737241600499ddf0c04678ce2a6 (diff) | |
download | ruby-29a2fe128a95d133acb72e06c0b4321bc91524b5.tar.gz |
mkmf.rb: no messages unless needed
* lib/mkmf.rb (create_makefile): no library scripts to install, no
installing messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index a8553fc07d..4a149f960b 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -2310,7 +2310,11 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} 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? |