diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-30 05:32:43 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-30 05:32:43 +0000 |
commit | 2f7f34f10702c8afded1846415fb3e6ee6fc0848 (patch) | |
tree | f11eac988a0eec43ea514ecbc0aa94429ae2ff5c /tool | |
parent | 39bc33d9a7dcc987994a075f3770a8e3cfcef8bf (diff) | |
download | ruby-2f7f34f10702c8afded1846415fb3e6ee6fc0848.tar.gz |
* tool/make-snapshot (prereq): remove enc.mk from tarball because
BSD make checks $(srcdir)/enc.mk and try to run $(builddir)/enc.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 13e437b20e..6f564a62ee 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -163,15 +163,7 @@ def package(rev, destdir) f.puts(IO.read("Makefile.in").gsub(/^@.*\n/, '').gsub(/@([A-Za-z_]\w*)@/) {ENV[$1]}) f.puts(commonmk.gsub(/\{[^{}]*\}/, "")) end - File.open("enc.mk", "r+b") do |f| - data = f.read - data.gsub!(/^((?:ENC|TRANS)(?:OBJ|SO)(?:S|DIR)\s*=)(?:.*\\\n)*.*/, '\1') - data.sub!(/^(clean:.*)(?:\n\t.*)+/, '\1') - f.rewind - f.truncate(0) - f.print data - end - clean.push("rbconfig.rb", ".rbconfig.time") + clean.push("rbconfig.rb", ".rbconfig.time", "enc.mk") print "prerequisites" else system("#{YACC} -o parse.c parse.y") |