X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=Rakefile;h=42630f150cdec64f5d1feea201c61d594d315594;hb=1ab6f66fbfc86b7ae8607a6046d1636bd5383b4c;hp=c94f6cf0efc951e3ed144fe2da15d1e4e16c67f1;hpb=7ffd114233c686568f43c88d79699c2921893ace;p=redact.git diff --git a/Rakefile b/Rakefile index c94f6cf..42630f1 100644 --- a/Rakefile +++ b/Rakefile @@ -1,4 +1,4 @@ -# $Id: Rakefile 41 2005-05-29 10:39:46Z tilman $ +# $Id: Rakefile 42 2005-06-08 17:16:09Z tilman $ require "rake/clean" require "rake/testtask" @@ -18,11 +18,11 @@ PKG_VERSION = File.read("lib/redact/redact.rb"). CLOBBER.include("test/*.edj") -sitelibdir = Config::CONFIG["sitelibdir"] -destdir = "#{ENV["DESTDIR"]}" -prefix = ENV["PREFIX"] || "/usr/local" - task :install do |t| + sitelibdir = Config::CONFIG["sitelibdir"] + destdir = "#{ENV["DESTDIR"]}" + prefix = ENV["PREFIX"] || "/usr/local" + ddir = destdir + prefix + "/bin" FileUtils::Verbose.install("bin/redact", ddir, :mode => 0755)