aboutsummaryrefslogtreecommitdiffstats
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-07 03:06:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-07 03:06:58 +0000
commitb032d111abc06e166b890f9f4d2a757af80116fd (patch)
tree7c636bec87ee1ba3cd3ce243f09be85fa1527870 /ext/extmk.rb
parent9a0b64fda09dd86a5f314c7b6ec8d0f79c473250 (diff)
downloadruby-b032d111abc06e166b890f9f4d2a757af80116fd.tar.gz
mkmf.rb: library installation messages
* lib/mkmf.rb (configuration, dummy_makefile, create_makefile): show library installation messages only when any files need to be updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 737e5bfdd4..3efecbc28a 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -89,7 +89,7 @@ def extract_makefile(makefile, keep = true)
return keep
end
installrb = {}
- m.scan(/^install-rb-default:.*[ \t](\S+)(?:[ \t].*)?\n\1:[ \t]*(\S+)/) {installrb[$2] = $1}
+ m.scan(/^(?:do-)?install-rb-default:.*[ \t](\S+)(?:[ \t].*)?\n\1:[ \t]*(\S+)/) {installrb[$2] = $1}
oldrb = installrb.keys.sort
newrb = install_rb(nil, "").collect {|d, *f| f}.flatten.sort
if target_prefix = m[/^target_prefix[ \t]*=[ \t]*\/(.*)/, 1]