From 79d6991a9ec1bba03cc8e143845375d741ca2d0e Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 16 Aug 2016 13:02:33 +0000 Subject: make-snapshot: UNICODE_VERSION * tool/make-snapshot (package): propagate UNICODE_VERSION to make snapshot from the parent make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 5 ++++- tool/make-snapshot | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/common.mk b/common.mk index b3f518c328..eda225a30a 100644 --- a/common.mk +++ b/common.mk @@ -996,7 +996,10 @@ gdb-ruby: $(PROGRAM) run.gdb PHONY $(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 diff --git a/tool/make-snapshot b/tool/make-snapshot index 73278a34bc..f1663a3e22 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -17,6 +17,7 @@ $patch_file ||= nil $packages ||= nil $digests ||= nil $tooldir = File.expand_path("..", __FILE__) +$unicode_version = nil if ($unicode_version ||= nil) == "" def usage <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(/\{\$([^(){}]*)[^{}]*\}/, "") -- cgit v1.2.3