mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/resource.rb: made version infos confirm to OS spec.
* {bcc32,win32}/Makefile.sub (*.rc): add dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
66583d9663
commit
5b461c6996
5 changed files with 22 additions and 17 deletions
|
@ -1,3 +1,9 @@
|
|||
Sun Feb 17 03:13:40 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/resource.rb: made version infos confirm to OS spec.
|
||||
|
||||
* {bcc32,win32}/Makefile.sub (*.rc): add dependency.
|
||||
|
||||
Sat Feb 16 20:49:34 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_substr): optimized for UTF-8.
|
||||
|
|
|
@ -491,7 +491,7 @@ $(LIBRUBY): $(LIBRUBY_SO)
|
|||
$(RUBYDEF): $(LIBRUBY_A) $(PREP)
|
||||
$(MINIRUBY) $(srcdir)/bcc32/mkexports.rb -output=$@ -base=$(RUBY_SO_NAME) $(LIBRUBY_A)
|
||||
|
||||
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: rbconfig.rb
|
||||
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: rbconfig.rb $(srcdir)/revision.h $(srcdir)/win32/resource.rb
|
||||
@$(MINIRUBY) $(srcdir)/win32/resource.rb \
|
||||
-ruby_name=$(RUBY_INSTALL_NAME) \
|
||||
-rubyw_name=$(RUBYW_INSTALL_NAME) \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2008-02-16"
|
||||
#define RUBY_RELEASE_DATE "2008-02-17"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20080216
|
||||
#define RUBY_RELEASE_CODE 20080217
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2008
|
||||
#define RUBY_RELEASE_MONTH 2
|
||||
#define RUBY_RELEASE_DAY 16
|
||||
#define RUBY_RELEASE_DAY 17
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
|
@ -666,7 +666,7 @@ distclean-local::
|
|||
@$(RM) $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc
|
||||
@-$(RM) ext\ripper\y.output
|
||||
|
||||
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: $(RBCONFIG)
|
||||
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: $(RBCONFIG) $(srcdir)/revision.h $(srcdir)/win32/resource.rb
|
||||
@$(MINIRUBY) $(srcdir)/win32/resource.rb \
|
||||
-ruby_name=$(RUBY_INSTALL_NAME) \
|
||||
-rubyw_name=$(RUBYW_INSTALL_NAME) \
|
||||
|
|
|
@ -4,9 +4,9 @@ require 'rbconfig'
|
|||
|
||||
CONFIG = RbConfig::MAKEFILE_CONFIG
|
||||
|
||||
version = %w'MAJOR MINOR TEENY PATCHLEVEL'.map {|v| CONFIG[v] || '0'}
|
||||
fversion = version.join(',')
|
||||
rversion = version.join('.')
|
||||
version = %w'MAJOR MINOR TEENY PATCHLEVEL'.map{|v| CONFIG[v] || '0'}
|
||||
nversion = version.join(',')
|
||||
sversion = version.join('.')
|
||||
|
||||
$ruby_name ||= CONFIG["RUBY_INSTALL_NAME"]
|
||||
$rubyw_name ||= CONFIG["RUBYW_INSTALL_NAME"] || $ruby_name.sub(/ruby/, '\&w')
|
||||
|
@ -62,8 +62,8 @@ end
|
|||
|
||||
#{icon || ''}
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION #{fversion}
|
||||
PRODUCTVERSION #{fversion}
|
||||
FILEVERSION #{nversion}
|
||||
PRODUCTVERSION #{nversion}
|
||||
FILEFLAGSMASK 0x3fL
|
||||
FILEFLAGS 0x0L
|
||||
FILEOS VOS__WINDOWS32
|
||||
|
@ -74,16 +74,15 @@ BEGIN
|
|||
BEGIN
|
||||
BLOCK "000004b0"
|
||||
BEGIN
|
||||
VALUE "FileDescription", "Ruby interpreter (#{desc}) #{rversion} [#{RUBY_PLATFORM}]\\0"
|
||||
VALUE "FileVersion", "#{fversion}\\0"
|
||||
VALUE "Home Page", "http://www.ruby-lang.org/\\0"
|
||||
VALUE "Comments", "#{RUBY_RELEASE_DATE}\\0"
|
||||
VALUE "CompanyName", "http://www.ruby-lang.org/\\0"
|
||||
VALUE "FileDescription", "Ruby interpreter (#{desc}) #{sversion} [#{RUBY_PLATFORM}]\\0"
|
||||
VALUE "FileVersion", "#{sversion}\\0"
|
||||
VALUE "InternalName", "#{base + ext}\\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 1993-#{RUBY_RELEASE_DATE[/\d+/]} Yukihiro Matsumoto\\0"
|
||||
VALUE "OriginalFilename", "#{base + ext}\\0"
|
||||
VALUE "Platform", "#{RUBY_PLATFORM}\\0"
|
||||
VALUE "ProductVersion", "#{fversion}\\0"
|
||||
VALUE "Release Date", "#{RUBY_RELEASE_DATE}\\0"
|
||||
VALUE "Version", "#{rversion}\\0"
|
||||
VALUE "ProductName", "Ruby interpreter #{sversion} [#{RUBY_PLATFORM}]\\0"
|
||||
VALUE "ProductVersion", "#{sversion}\\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
Loading…
Reference in a new issue