summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-10 08:30:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-10 08:30:10 +0000
commit0eb892e103af34e2d7b68938f966cbd0c58257c7 (patch)
tree3cb11e9e5203fbeb250efda1243ec653f72d0479
parent2e2ccab1104c01a2e944eab2a4f5e338a26155d7 (diff)
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
-rw-r--r--win32/Makefile.sub2
-rw-r--r--win32/setup.mak5
2 files changed, 4 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 60a03a7..5f48ed9 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 3b70d0a..840d3e6 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-: