X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=Rakefile;h=a92e172c9f02cbe5da454fc24fc70160e37b1697;hb=573993085bb2db7684f4affa6b235fc90e4b9bf8;hp=398615b22f47f17d1c0faa47176027123714d047;hpb=a0d66a3b1019780a0c8e17fa65de71de6a8a3955;p=ruby-eet.git diff --git a/Rakefile b/Rakefile index 398615b..a92e172 100644 --- a/Rakefile +++ b/Rakefile @@ -1,10 +1,11 @@ -# $Id: Rakefile 6 2005-03-27 01:17:28Z tilman $ +# $Id: Rakefile 15 2005-03-28 21:07:26Z tilman $ require "rbconfig" require "rake/clean" require "rake/testtask" require "rake/rdoctask" require "rake/packagetask" +require "rake/contrib/compositepublisher" require "rake/contrib/sshpublisher" # make sure we run at least Rake 0.5.0 @@ -46,10 +47,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] @@ -62,7 +63,7 @@ end Rake::RDocTask.new do |t| t.rdoc_dir = "doc" - t.title = "ruby-eet - EET bindings for Ruby" + t.title = "Ruby-EET - EET bindings for Ruby" t.options = ["--line-numbers", "--inline-source", "--main", "README"] t.rdoc_files.include("README", "COPYING", "AUTHORS", "ChangeLog", "ext/ext.c", "lib/eet.rb")