1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2014-06-10 08:30:10 +00:00
parent 2e2ccab110
commit 0eb892e103
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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-: