mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
2ae5e54e62
commit
b24c4908e9
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
<<USAGE
|
||||
|
@ -309,6 +310,7 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||
"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(/\{\$([^(){}]*)[^{}]*\}/, "")
|
||||
|
|
Loading…
Reference in a new issue