diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-06 09:33:20 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-06 09:33:20 +0000 |
| commit | 25d1c518bd3ae37f04e254fd7e8b0e9c236a59a8 (patch) | |
| tree | 4cae1fb489fcbffd51fd9425688f7dda629d3f8b | |
| parent | ca3608096d23f4cd76ce3b8d07cd9f4bf8030c00 (diff) | |
| download | ruby-25d1c518bd3ae37f04e254fd7e8b0e9c236a59a8.tar.gz ruby-25d1c518bd3ae37f04e254fd7e8b0e9c236a59a8.tar.xz ruby-25d1c518bd3ae37f04e254fd7e8b0e9c236a59a8.zip | |
* tool/make-snapshot (package): added RM and CP. [ruby-dev:37288]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | tool/make-snapshot | 2 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sat Dec 6 18:33:16 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * tool/make-snapshot (package): added RM and CP. [ruby-dev:37288] + Sat Dec 6 17:51:35 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp> * pack.c (pack_pack): 'u0' is not special differently from 'm0'. diff --git a/tool/make-snapshot b/tool/make-snapshot index 25d61a795..7b257f3d1 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -151,6 +151,8 @@ def package(rev, destdir) f.puts "s,@OBJEXT@,|#_!!_#|o,g" f.puts "s,@LIBRUBY@,|#_!!_#|liburyb.a,g" f.puts "s,@LIBRUBY_A@,|#_!!_#|liburyb.a,g" + f.puts "s,@RM@,|#_!!_#|rm -f,g" + f.puts "s,@CP@,|#_!!_#|cp,g" } FileUtils.mkpath(hdrdir = "#{extout}/include/ruby") File.open("#{hdrdir}/config.h", "w") {} @@ -32,7 +32,7 @@ RUBY_EXTERN const char ruby_copyright[]; #define RUBY_REVISION 0 #endif -#if RUBY_PATCHLEVEL +#if RUBY_PATCHLEVEL && RUBY_PATCHLEVEL < 5000 #define RUBY_PATCHLEVEL_STR " patchlevel "STRINGIZE(RUBY_PATCHLEVEL) #else #define RUBY_PATCHLEVEL_STR "" |
