summaryrefslogtreecommitdiff
path: root/instruby.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-08 09:08:15 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-08 09:08:15 +0000
commit4f26f3b8902a59ec27070f8cf1fd038561894f4d (patch)
tree8f51964341539072b73e7d7ffdae95c6179cca9e /instruby.rb
parent275d1a12e6eeae346731bd9373aeff934d270db0 (diff)
* configure.in: modify program_prefix only if specified
--program-prefix. * configure.in: don't generate ext/extmk.rb. * Makefile.in: execute directly $(srcdir)/ext/extmk.rb. remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb. * {win32,bccwin32}/Makefile.sub: ditto. * instruby.rb: ditto. * ext/extmk.rb: renamed from ext/extmk.rb.in. * lib/mkmf.rb (module Logging): create log files (mkmf.log) in each extension module directories. * ext/extmk.rb: ditto. * lib/mkmf.rb (macro_defined?): new method. * ext/.cvsignore: remove extmk.rb. * ext/*/.cvsignore: add "*.def". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rw-r--r--instruby.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/instruby.rb b/instruby.rb
index 7807837..26f97db 100644
--- a/instruby.rb
+++ b/instruby.rb
@@ -69,12 +69,8 @@ if RUBY_PLATFORM =~ /-aix/
File.install "ruby.imp", archlibdir, 0644, true
end
-Dir.chdir "ext"
-if defined? CROSS_COMPILING
- system "#{CONFIG['MINIRUBY']} extmk.rb install #{destdir}"
-else
- system "../miniruby#{exeext} extmk.rb install #{destdir}"
-end
+system "#{CONFIG['MINIRUBY']} #{CONFIG['srcdir']}/ext/extmk.rb install #{destdir}"
+
Dir.chdir CONFIG["srcdir"]
File.install "sample/irb.rb", "#{bindir}/irb", 0755, true