projects
/
ruby-edje.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for RUBYARCHDIR.
[ruby-edje.git]
/
Rakefile
diff --git
a/Rakefile
b/Rakefile
index 801ed10f7546b0a3623fa5a70fa98c5ac842fe80..59351d620302865ddd8c1f0f4b6c039fb3cb8656 100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-1,4
+1,4
@@
-# $Id: Rakefile 3
27 2005-04-27 14:27:0
1Z tilman $
+# $Id: Rakefile 3
41 2005-05-07 11:02:5
1Z tilman $
require "library"
require "rake/clean"
require "library"
require "rake/clean"
@@
-29,7
+29,7
@@
end
task :install => [ext_lib.so] do |t|
destdir = "#{ENV["DESTDIR"]}"
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)
FileUtils::Verbose.install(ext_lib.so, destdir + sitearchdir,
:mode => 0755)