-# $Id: Rakefile 322 2005-04-27 14:17:25Z tilman $
+# $Id: Rakefile 340 2005-05-07 11:02:41Z tilman $
require "library"
require "rake/clean"
task :install => [ext_lib.so] do |t|
destdir = "#{ENV["DESTDIR"]}"
- sitearchdir = Config::CONFIG['sitearchdir']
+ sitearchdir = ENV["RUBYARCHDIR"] || Config::CONFIG['sitearchdir']
FileUtils::Verbose.install(ext_lib.so, destdir + sitearchdir,
:mode => 0755)