From: Tilman Sauerbeck Date: Sat, 7 May 2005 11:02:51 +0000 (+0000) Subject: Added support for RUBYARCHDIR. X-Git-Url: http://git.code-monkey.de/?p=ruby-edje.git;a=commitdiff_plain;h=f18fb5c3ebbf4f24182d8302426ef08e41daac14 Added support for RUBYARCHDIR. --- diff --git a/Rakefile b/Rakefile index 801ed10..59351d6 100644 --- a/Rakefile +++ b/Rakefile @@ -1,4 +1,4 @@ -# $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" @@ -29,7 +29,7 @@ end 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)