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
commit442eac3f349396c4c977579b519b420af207a831 (patch)
tree7c636bec87ee1ba3cd3ce243f09be85fa1527870 /ext/extmk.rb
parentee9be9a9762ffb32b98ab5bf2f32f6a46ea558ae (diff)
downloadruby-442eac3f349396c4c977579b519b420af207a831.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]