mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
ff99fd4de1
commit
29a2fe128a
1 changed files with 5 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue