ruby-changes:43873
From: nobu <ko1@a...>
Date: Tue, 16 Aug 2016 22:02:38 +0900 (JST)
Subject: [ruby-changes:43873] nobu:r55946 (trunk): make-snapshot: UNICODE_VERSION
nobu 2016-08-16 22:02:33 +0900 (Tue, 16 Aug 2016) New Revision: 55946 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55946 Log: make-snapshot: UNICODE_VERSION * tool/make-snapshot (package): propagate UNICODE_VERSION to make snapshot from the parent make. Modified files: trunk/common.mk trunk/tool/make-snapshot Index: common.mk =================================================================== --- common.mk (revision 55945) +++ common.mk (revision 55946) @@ -996,7 +996,10 @@ gdb-ruby: $(PROGRAM) run.gdb PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L996 $(Q) $(RUNRUBY_COMMAND) $(RUNRUBY_DEBUGGER) -- $(TESTRUN_SCRIPT) dist: - $(BASERUBY) $(srcdir)/tool/make-snapshot -srcdir=$(srcdir) tmp $(RELNAME) + $(BASERUBY) $(srcdir)/tool/make-snapshot \ + -srcdir=$(srcdir) \ + -unicode-version=$(UNICODE_VERSION) \ + tmp $(RELNAME) up:: update-remote Index: tool/make-snapshot =================================================================== --- tool/make-snapshot (revision 55945) +++ tool/make-snapshot (revision 55946) @@ -17,6 +17,7 @@ $patch_file ||= nil https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L17 $packages ||= nil $digests ||= nil $tooldir = File.expand_path("..", __FILE__) +$unicode_version = nil if ($unicode_version ||= nil) == "" def usage <<USAGE @@ -309,6 +310,7 @@ def package(vcs, rev, destdir, tmp = nil https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L310 "PWD"=>Dir.pwd, "CONFIGURE"=>"configure", } + vars["UNICODE_VERSION"] = $unicode_version if $unicode_version args = vars.dup mk.gsub!(/@([A-Za-z_]\w*)@/) {args.delete($1); vars[$1] || ENV[$1]} mk << commonmk.gsub(/\{\$([^(){}]*)[^{}]*\}/, "") -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/