ruby-changes:32365
From: usa <ko1@a...>
Date: Fri, 27 Dec 2013 13:25:55 +0900 (JST)
Subject: [ruby-changes:32365] usa:r44444 (trunk): * win32/{setup.mak, Makefile.sub}: update fake.rb like
usa 2013-12-27 13:25:47 +0900 (Fri, 27 Dec 2013) New Revision: 44444 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44444 Log: * win32/{setup.mak,Makefile.sub}: update fake.rb like template/fake.rb.in. Modified files: trunk/ChangeLog trunk/win32/Makefile.sub trunk/win32/setup.mak Index: ChangeLog =================================================================== --- ChangeLog (revision 44443) +++ ChangeLog (revision 44444) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Dec 27 13:25:03 2013 NAKAMURA Usaku <usa@r...> + + * win32/{setup.mak,Makefile.sub}: update fake.rb like + template/fake.rb.in. + Thu Dec 26 16:10:41 2013 NAKAMURA Usaku <usa@r...> * win32/Makefile.sub (fake.rb): should depend on version.h because Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 44443) +++ win32/Makefile.sub (revision 44444) @@ -1037,11 +1037,14 @@ $(RCFILES): $(RBCONFIG) $(srcdir)/revisi https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L1037 $(arch)-fake.rb: $(MKFILES) $(srcdir)/version.h @echo Creating <<$@ class Object + remove_const :CROSS_COMPILING if defined?(CROSS_COMPILING) CROSS_COMPILING = RUBY_PLATFORM remove_const :RUBY_PLATFORM remove_const :RUBY_VERSION + remove_const :RUBY_DESCRIPTION if defined?(RUBY_DESCRIPTION) RUBY_PLATFORM = "$(arch)" - RUBY_VERSION = "$(MAJOR).$(MINOR).$(TEENY)" + RUBY_VERSION = $(RUBY_PROGRAM_VERSION) + RUBY_DESCRIPTION = "ruby #{RUBY_VERSION} (" + $(RUBY_PROGRAM_RELEASE_DATE) + ") [#{RUBY_PLATFORM}]" end class File remove_const :ALT_SEPARATOR Index: win32/setup.mak =================================================================== --- win32/setup.mak (revision 44443) +++ win32/setup.mak (revision 44444) @@ -117,6 +117,8 @@ int main(void) {return (EnumProcesses(NU https://github.com/ruby/ruby/blob/trunk/win32/setup.mak#L117 MAJOR = RUBY_API_VERSION_MAJOR MINOR = RUBY_API_VERSION_MINOR TEENY = RUBY_API_VERSION_TEENY +RUBY_PROGRAM_VERSION = RUBY_VERSION +RUBY_PROGRAM_RELEASE_DATE = RUBY_RELEASE_DATE MSC_VER = _MSC_VER << -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/