diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-14 15:14:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-14 15:14:05 +0000 |
commit | 7931bbf1b3619ef84bc17073bef2388ca050b8c9 (patch) | |
tree | bf07384ca365e40e8c7535f7bb7c62a9413ee0e6 /tool | |
parent | c50e1d3aef90d98a79e3986b367e3422b10f9e01 (diff) | |
download | ruby-7931bbf1b3619ef84bc17073bef2388ca050b8c9.tar.gz |
tool/make-snapshot MKDIR_P
* tool/make-snapshot (package): MKDIR_P is needed as direct macro to
build enc/unicode/name2ctype.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 06fca78fd8..00131507a4 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -197,12 +197,11 @@ def package(rev, destdir) f.puts "s,@LIBRUBY_A@,|#_!!_#|liburyb.a,g" f.puts "s,@RM@,|#_!!_#|rm -f,g" f.puts "s,@CP@,|#_!!_#|cp,g" - f.puts "s,@MKDIR_P@,|#_!!_#|mkdir -p,g" } FileUtils.mkpath(hdrdir = "#{extout}/include/ruby") File.open("#{hdrdir}/config.h", "w") {} miniruby = ENV['MINIRUBY'] + " -r./cross" - IO.popen("make -f - prereq srcdir=. CHDIR=cd IFCHANGE=tool/ifchange 'MINIRUBY=#{miniruby}' 'RUBY=#{ENV["RUBY"]}'", "w") do |f| + IO.popen("make -f - prereq srcdir=. CHDIR=cd IFCHANGE=tool/ifchange MAKEDIRS='mkdir -p' 'MINIRUBY=#{miniruby}' 'RUBY=#{ENV["RUBY"]}'", "w") do |f| f.puts(IO.read("Makefile.in").gsub(/^@.*\n/, '').gsub(/@([A-Za-z_]\w*)@/) {ENV[$1]}) f.puts(commonmk.gsub(/\{[^{}]*\}/, "")) end @@ -252,7 +251,7 @@ revisions.collect {|rev| package(rev, destdir)}.flatten.each do |name| sha = Digest::SHA256.hexdigest str puts "* #{name}" puts " SIZE: #{str.bytesize} bytes" - puts " MD5: #{md5}" + puts " MD5: #{md5}" puts " SHA256: #{sha}" puts end |