X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=Rakefile;h=ee9f8978bfae3cf3d70684d25558d043829f8a3b;hb=49c2fbf248e6e1d4b35cfbc96fca0efb38423d80;hp=c94f6cf0efc951e3ed144fe2da15d1e4e16c67f1;hpb=7ffd114233c686568f43c88d79699c2921893ace;p=redact.git diff --git a/Rakefile b/Rakefile index c94f6cf..ee9f897 100644 --- a/Rakefile +++ b/Rakefile @@ -1,4 +1,4 @@ -# $Id: Rakefile 41 2005-05-29 10:39:46Z tilman $ +# $Id: Rakefile 76 2006-05-13 11:58:15Z 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) @@ -59,7 +59,7 @@ end task :publish => [:rdoc, :package] do p = Rake::CompositePublisher.new p.add(Rake::SshFreshDirPublisher.new("code-monkey.de", - "public_html/docs/" + + "public_docs/" + PKG_NAME, "doc")) p.add(Rake::SshFilePublisher.new("code-monkey.de", ".", "pkg",