[前][次][番号順一覧][スレッド一覧]

ruby-changes:2850

From: ko1@a...
Date: 20 Dec 2007 02:23:47 +0900
Subject: [ruby-changes:2850] nobu - Ruby:r14341 (trunk): * enc/Makefile.in (RM): added.

nobu	2007-12-20 02:23:24 +0900 (Thu, 20 Dec 2007)

  New Revision: 14341

  Modified files:
    trunk/ChangeLog
    trunk/enc/Makefile.in
    trunk/enc/depend

  Log:
    * enc/Makefile.in (RM): added.
    
    * enc/depend (encs): sort in alpha-numeric order.
    
    * enc/depend (clean, distclean): added.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14341&r2=14340
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enc/Makefile.in?r1=14341&r2=14340
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enc/depend?r1=14341&r2=14340

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14340)
+++ ChangeLog	(revision 14341)
@@ -1,3 +1,11 @@
+Thu Dec 20 02:23:22 2007  Nobuyoshi Nakada  <nobu@r...>
+
+	* enc/Makefile.in (RM): added.
+
+	* enc/depend (encs): sort in alpha-numeric order.
+
+	* enc/depend (clean, distclean): added.
+
 Thu Dec 20 01:10:52 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* compile.c (iseq_compile_each): should handle upper level eval iseq
Index: enc/depend
===================================================================
--- enc/depend	(revision 14340)
+++ enc/depend	(revision 14341)
@@ -1,4 +1,6 @@
-! encs = (Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS).each {|e| e.chomp!(".c")}
+! encs = Dir.open($srcdir) {|d| d.grep(/.+\.c\z/)} - BUILTIN_ENCS
+! encs.each {|e| e.chomp!(".c")}
+! encs = encs.sort_by {|e| e.split(/(\d+)/).map {|n| Integer(n) rescue n}}
 
 VPATH = <% %w[$(arch_hdrdir)/ruby $(hdrdir)/ruby $(top_srcdir) $(srcdir)].join(CONFIG["PATH_SEPARATOR"]) %>
 
@@ -22,3 +24,10 @@
 ! encs.each do |e|
 <%e%>.$(OBJEXT): <%e%>.c
 ! end
+
+clean:
+	$(RM) $(ENCSOS)
+	$(RM) $(ENCOBJS)
+
+distclean: clean
+	$(RM) enc.mk
Index: enc/Makefile.in
===================================================================
--- enc/Makefile.in	(revision 14340)
+++ enc/Makefile.in	(revision 14341)
@@ -24,3 +24,5 @@
 LIBS = @LIBS@ $(EXTLIBS)
 LDSHARED = @LDSHARED@
 DLDFLAGS = @DLDFLAGS@ $(EXTLDFLAGS) @ARCH_FLAG@
+
+RM = @RM@

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]