зеркало из https://github.com/github/ruby.git
* enc/depend: add transdb.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2ce5ff1ac1
Коммит
380e558f33
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Aug 7 17:47:55 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* enc/depend: add transdb.c.
|
||||||
|
|
||||||
Thu Aug 7 16:28:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Aug 7 16:28:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not
|
* Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not
|
||||||
|
|
|
@ -42,7 +42,6 @@ ldflags = $(LDFLAGS)
|
||||||
dldflags = @DLDFLAGS@
|
dldflags = @DLDFLAGS@
|
||||||
archflag = @ARCH_FLAG@
|
archflag = @ARCH_FLAG@
|
||||||
DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
|
DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
|
||||||
BASERUBY = @BASERUBY@
|
|
||||||
|
|
||||||
RM = @RM@
|
RM = @RM@
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,11 @@
|
||||||
% encs.each {|e| e.chomp!(".c")}
|
% encs.each {|e| e.chomp!(".c")}
|
||||||
% alphanumeric_order = proc {|e| e.scan(/(\d+)|(\D+)/).map {|n,a| a||[n.size,n.to_i]}.flatten}
|
% 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 = encs.sort_by(&alphanumeric_order)
|
||||||
|
% encs.unshift(encs.delete("encdb"))
|
||||||
% atrans = []
|
% atrans = []
|
||||||
% trans = Dir.open($srcdir+"/trans") {|d|
|
% trans = Dir.open($srcdir+"/trans") {|d|
|
||||||
% d.select {|e|
|
% d.select {|e|
|
||||||
% if e != 'transdb.c' && e.chomp!('.c')
|
% if e.chomp!('.c')
|
||||||
% atrans << e if e.chomp!(".erb")
|
% atrans << e if e.chomp!(".erb")
|
||||||
% true
|
% true
|
||||||
% end
|
% end
|
||||||
|
@ -15,6 +16,7 @@
|
||||||
% trans.uniq!
|
% trans.uniq!
|
||||||
% atrans = atrans.sort_by(&alphanumeric_order)
|
% atrans = atrans.sort_by(&alphanumeric_order)
|
||||||
% trans = trans.sort_by(&alphanumeric_order)
|
% trans = trans.sort_by(&alphanumeric_order)
|
||||||
|
% trans.unshift(trans.delete("transdb"))
|
||||||
% trans.map! {|e| "trans/#{e}"}
|
% trans.map! {|e| "trans/#{e}"}
|
||||||
% dependencies = encs + trans
|
% dependencies = encs + trans
|
||||||
% cleanlibs = Shellwords.shellwords(CONFIG["cleanlibs"] || "")
|
% cleanlibs = Shellwords.shellwords(CONFIG["cleanlibs"] || "")
|
||||||
|
|
Загрузка…
Ссылка в новой задаче