-# $Id: Rakefile 327 2005-04-27 14:27:01Z tilman $
+# $Id: Rakefile 341 2005-05-07 11:02:51Z 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)