mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/make-snapshot (package): enc.mk in snapshot is dummy and should
not deal with objects. [ruby-core:20422] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a6d8d84a9e
commit
aeec60621a
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Dec 9 00:54:01 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/make-snapshot (package): enc.mk in snapshot is dummy and should
|
||||||
|
not deal with objects. [ruby-core:20422]
|
||||||
|
|
||||||
Tue Dec 9 00:17:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Dec 9 00:17:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* enc/depend (clean-srcs): split out from clean.
|
* enc/depend (clean-srcs): split out from clean.
|
||||||
|
|
|
@ -161,6 +161,14 @@ def package(rev, destdir)
|
||||||
f.puts(IO.read("Makefile.in")[/^lex\.c.*?^$/m])
|
f.puts(IO.read("Makefile.in")[/^lex\.c.*?^$/m])
|
||||||
f.puts(commonmk.gsub(/\{[^{}]*\}/, ""))
|
f.puts(commonmk.gsub(/\{[^{}]*\}/, ""))
|
||||||
end
|
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")
|
||||||
print "prerequisites"
|
print "prerequisites"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue