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

ruby-changes:34313

From: nobu <ko1@a...>
Date: Tue, 10 Jun 2014 17:30:23 +0900 (JST)
Subject: [ruby-changes:34313] nobu:r46394 (trunk): win32/setup.mak: rename RUBY_RELEASE_DATE

nobu	2014-06-10 17:30:10 +0900 (Tue, 10 Jun 2014)

  New Revision: 46394

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46394

  Log:
    win32/setup.mak: rename RUBY_RELEASE_DATE
    
    * win32/setup.mak (verconf.mk): rename RUBY_PROGRAM_VERSION as
      RUBY_RELEASE_DATE, same as other platforms.

  Modified files:
    trunk/win32/Makefile.sub
    trunk/win32/setup.mak
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 46393)
+++ win32/Makefile.sub	(revision 46394)
@@ -1054,7 +1054,7 @@ class Object https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L1054
   remove_const :RUBY_DESCRIPTION if defined?(RUBY_DESCRIPTION)
   RUBY_PLATFORM = "$(arch)"
   RUBY_VERSION = $(RUBY_PROGRAM_VERSION)
-  RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (" + $(RUBY_PROGRAM_RELEASE_DATE) + ") [#{RUBY_PLATFORM}]"
+  RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (" $(RUBY_RELEASE_DATE) ") [#{RUBY_PLATFORM}]"
 end
 class File
   remove_const :ALT_SEPARATOR
Index: win32/setup.mak
===================================================================
--- win32/setup.mak	(revision 46393)
+++ win32/setup.mak	(revision 46394)
@@ -122,10 +122,11 @@ MSC_VER = _MSC_VER https://github.com/ruby/ruby/blob/trunk/win32/setup.mak#L122
 <<
 
 verconf.mk: nul
-	@$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(@)" | findstr "=" >$(@)
+	@echo RUBY_RELEASE_DATE \>$(@)
+	@$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(@)" | findstr "=" >>$(@)
 #define RUBY_REVISION 0
 #include "version.h"
-RUBY_PROGRAM_RELEASE_DATE = RUBY_RELEASE_DATE
+ = RUBY_RELEASE_DATE
 <<
 
 -program-name-:

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

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