diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-07 08:47:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-07 08:47:58 +0000 |
commit | 9b47940568218f79fb878a4cd1b4778199dd1d99 (patch) | |
tree | e0bab19811993e6da50238eb93a25b0b19ed9d0d /enc/depend | |
parent | 86c07e524de6e8b6c2c8f88101e60d64a3a93d30 (diff) | |
download | ruby-9b47940568218f79fb878a4cd1b4778199dd1d99.tar.gz ruby-9b47940568218f79fb878a4cd1b4778199dd1d99.tar.xz ruby-9b47940568218f79fb878a4cd1b4778199dd1d99.zip |
* enc/depend: add transdb.c.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/depend')
-rw-r--r-- | enc/depend | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/enc/depend b/enc/depend index eee08dc2e..1aaef9ed7 100644 --- a/enc/depend +++ b/enc/depend @@ -3,10 +3,11 @@ % encs.each {|e| e.chomp!(".c")} % alphanumeric_order = proc {|e| e.scan(/(\d+)|(\D+)/).map {|n,a| a||[n.size,n.to_i]}.flatten} % encs = encs.sort_by(&alphanumeric_order) +% encs.unshift(encs.delete("encdb")) % atrans = [] % trans = Dir.open($srcdir+"/trans") {|d| % d.select {|e| -% if e != 'transdb.c' && e.chomp!('.c') +% if e.chomp!('.c') % atrans << e if e.chomp!(".erb") % true % end @@ -15,6 +16,7 @@ % trans.uniq! % atrans = atrans.sort_by(&alphanumeric_order) % trans = trans.sort_by(&alphanumeric_order) +% trans.unshift(trans.delete("transdb")) % trans.map! {|e| "trans/#{e}"} % dependencies = encs + trans % cleanlibs = Shellwords.shellwords(CONFIG["cleanlibs"] || "") |