mkconfig.rb: no build-time variables

* tool/mkconfig.rb: exclude unnecessary build-time only variables,
  various ruby commands, installation targets, and dtrace stuffs.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-03-01 02:17:13 +00:00
parent a12a453152
commit cb0cfbb4c3
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,9 @@ File.foreach "config.status" do |line|
if name
case name
when /^(?:ac_.*|configure_input|(?:top_)?srcdir|\w+OBJS)$/; next
when /^(?:X|(?:MINI|RUN|BASE)RUBY$)/; next
when /^(?:X|(?:MINI|RUN|(?:HAVE_)?BASE|BTEST)RUBY(?:_COMMAND)?$)/; next
when /^INSTALLDOC|TARGET$/; next
when /^DTRACE/; next
when /^(?:MAJOR|MINOR|TEENY)$/; vars[name] = val; next
when /^LIBRUBY_D?LD/; next
when /^RUBY_INSTALL_NAME$/; next vars[name] = (install_name = val).dup if $install_name