Fixed the install task.
[ruby-eet.git] / Rakefile
index 398615b22f47f17d1c0faa47176027123714d047..a1ac76fc6a46758a7797fd9da0127770cb34d5ba 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,4 @@
-# $Id: Rakefile 6 2005-03-27 01:17:28Z tilman $
+# $Id: Rakefile 8 2005-03-27 14:25:35Z tilman $
 
 require "rbconfig"
 require "rake/clean"
@@ -46,10 +46,10 @@ file ext_lib => ext_obj do |t|
 end
 
 task :install => [ext_lib] do |t|
-       d = destdir + sitearchdir
-
-       FileUtils::Verbose.install(ext_lib, d, :mode => 0755)
-       FileUtils::Verbose.install("lib/eet.rb", d, :mode => 0644)
+       FileUtils::Verbose.install(ext_lib, destdir + sitearchdir,
+                                  :mode => 0755)
+       FileUtils::Verbose.install("lib/eet.rb", destdir + sitelibdir,
+                                  :mode => 0644)
 end
 
 task :test => [ext_lib]