From 0eb892e103af34e2d7b68938f966cbd0c58257c7 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 10 Jun 2014 08:30:10 +0000 Subject: [PATCH] win32/setup.mak: rename RUBY_RELEASE_DATE * win32/setup.mak (verconf.mk): rename RUBY_PROGRAM_VERSION as RUBY_RELEASE_DATE, same as other platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 2 +- win32/setup.mak | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 60a03a7ae6..5f48ed9e2a 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1054,7 +1054,7 @@ class Object 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 diff --git a/win32/setup.mak b/win32/setup.mak index 3b70d0ac1a..840d3e6a68 100644 --- a/win32/setup.mak +++ b/win32/setup.mak @@ -122,10 +122,11 @@ MSC_VER = _MSC_VER << 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-: