diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-30 05:41:31 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-01-30 05:41:31 +0000 |
commit | 435b7478dcaba1a571e7138bd55d2a2efd411c50 (patch) | |
tree | 58cf5c1ced6e5f5e0340557393b4341bd72ce1cf /tool | |
parent | 94c8422ba31d787aab3340a672aa2fcdc7d1f52f (diff) | |
download | ruby-435b7478dcaba1a571e7138bd55d2a2efd411c50.tar.gz ruby-435b7478dcaba1a571e7138bd55d2a2efd411c50.tar.xz ruby-435b7478dcaba1a571e7138bd55d2a2efd411c50.zip |
merges r21893 from trunk into ruby_1_9_1.
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21895 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 13e437b20..6f564a62e 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") |