[前][次][番号順一覧][スレッド一覧]

ruby-changes:40508

From: hsbt <ko1@a...>
Date: Mon, 16 Nov 2015 16:16:32 +0900 (JST)
Subject: [ruby-changes:40508] hsbt:r52589 (trunk): * mkconfig.rb: Add some high-level documentation.

hsbt	2015-11-16 16:16:16 +0900 (Mon, 16 Nov 2015)

  New Revision: 52589

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52589

  Log:
    * mkconfig.rb: Add some high-level documentation.
      [ci skip][fix GH-1081]

  Modified files:
    trunk/ChangeLog
    trunk/tool/mkconfig.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52588)
+++ ChangeLog	(revision 52589)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Nov 16 16:10:51 2015  SHIBATA Hiroshi  <hsbt@r...>
+
+	* mkconfig.rb: Add some high-level documentation.
+	  [ci skip][fix GH-1081]
+
 Mon Nov 16 15:59:14 2015  yui-knk  <spiketeika@g...>
 
 	* proc.c: Add call-seq of `Method#super_method`
Index: tool/mkconfig.rb
===================================================================
--- tool/mkconfig.rb	(revision 52588)
+++ tool/mkconfig.rb	(revision 52589)
@@ -1,5 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L1
 #!./miniruby -s
 
+# This script, which is run when ruby is built, generates rbconfig.rb by
+# parsing information from config.status.  rbconfig.rb contains build
+# information for ruby (compiler flags, paths, etc.) and is used e.g. by
+# mkmf to build compatible native extensions.
+
 # avoid warnings with -d.
 $install_name ||= nil
 $so_name ||= nil
@@ -167,8 +172,10 @@ prefix = vars.expand(vars["prefix"] ||= https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L172
 rubyarchdir = vars.expand(vars["rubyarchdir"] ||= "")
 relative_archdir = rubyarchdir.rindex(prefix, 0) ? rubyarchdir[prefix.size..-1] : rubyarchdir
 puts %[\
-# This file was created by #{mkconfig} when ruby was built.  Any
-# changes made to this file will be lost the next time ruby is built.
+# This file was created by #{mkconfig} when ruby was built.  It contains
+# build information for ruby which is used e.g. by mkmf to build
+# compatible native extensions.  Any changes made to this file will be
+# lost the next time ruby is built.
 
 module RbConfig
   RUBY_VERSION.start_with?("#{version[/^[0-9]+\.[0-9]+\./] || version}") or

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]