diff options
Diffstat (limited to 'enc')
-rw-r--r-- | enc/Makefile.in | 1 | ||||
-rw-r--r-- | enc/depend | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/enc/Makefile.in b/enc/Makefile.in index 488e0b8a6f..be2b518588 100644 --- a/enc/Makefile.in +++ b/enc/Makefile.in @@ -42,7 +42,6 @@ ldflags = $(LDFLAGS) dldflags = @DLDFLAGS@ archflag = @ARCH_FLAG@ DLDFLAGS = $(ldflags) $(dldflags) $(archflag) -BASERUBY = @BASERUBY@ RM = @RM@ diff --git a/enc/depend b/enc/depend index eee08dc2e0..1aaef9ed7a 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"] || "") |