From 7b2d6273c8eaf3d4683b7eda669de587065528a4 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 3 Nov 2007 13:41:52 +0000 Subject: * README.EXT: explain --vendor option for extconf.rb * README.EXT.ja: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 +++++- README.EXT | 5 +++++ README.EXT.ja | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 36c466c63..276755535 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,13 @@ -Sat Nov 3 22:29:35 2007 Tanaka Akira +Sat Nov 3 22:41:05 2007 Tanaka Akira * configure.in: --with-vendor-hdrdir implemented. * lib/mkmf.rb: check --vendor argument. + * README.EXT: explain --vendor option for extconf.rb + + * README.EXT.ja: ditto. + Sat Nov 3 20:30:48 2007 Tanaka Akira * configure.in: --with-vendordir implemented. diff --git a/README.EXT b/README.EXT index 283de48b7..df075a63a 100644 --- a/README.EXT +++ b/README.EXT @@ -662,6 +662,11 @@ Try generating the Makefile by: ruby extconf.rb +If the library should be installed under vendor_ruby directory +instead of site_ruby directory, use --vendor option as follows. + + ruby extconf.rb --vendor + You don't need this step if you put the extension library under the ext directory of the ruby source tree. In that case, compilation of the interpreter will do this step for you. diff --git a/README.EXT.ja b/README.EXT.ja index 20c5a362a..7db7285c6 100644 --- a/README.EXT.ja +++ b/README.EXT.ja @@ -757,6 +757,12 @@ Makefile としてください. +site_ruby ディレクトリでなく、 +vendor_ruby ディレクトリにインストールする場合には +以下のように --vendor オプションを加えてください. + + ruby extconf.rb --vendor + ディレクトリをext以下に用意した場合にはRuby全体のmakeの時に 自動的にMakefileが生成されますので,このステップは不要です. -- cgit