Code cleanup.
authorTilman Sauerbeck <tilman@code-monkey.de>
Wed, 8 Jun 2005 17:16:09 +0000 (17:16 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Wed, 8 Jun 2005 17:16:09 +0000 (17:16 +0000)
ChangeLog
Rakefile

index 6bac97ffe6b73c490c02593c499d8999640062a4..19ce77a61ea7796186d6f05d01cdb76d2c13512c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
 --
 --
-$Id: ChangeLog 41 2005-05-29 10:39:46Z tilman $
+$Id: ChangeLog 42 2005-06-08 17:16:09Z tilman $
 ++
 
 ++
 
+2005-06-08 Tilman Sauerbeck (tilman at code-monkey de)
+        * Rakefile: Code cleanup
+
 2005-05-29 Tilman Sauerbeck (tilman at code-monkey de)
         * Rakefile: Use FileUtils.mkdir_p to create the destination
           directory
 2005-05-29 Tilman Sauerbeck (tilman at code-monkey de)
         * Rakefile: Use FileUtils.mkdir_p to create the destination
           directory
index c94f6cf0efc951e3ed144fe2da15d1e4e16c67f1..42630f150cdec64f5d1feea201c61d594d315594 100644 (file)
--- 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"
 
 require "rake/clean"
 require "rake/testtask"
@@ -18,11 +18,11 @@ PKG_VERSION = File.read("lib/redact/redact.rb").
 
 CLOBBER.include("test/*.edj")
 
 
 CLOBBER.include("test/*.edj")
 
-sitelibdir = Config::CONFIG["sitelibdir"]
-destdir = "#{ENV["DESTDIR"]}"
-prefix = ENV["PREFIX"] || "/usr/local"
-
 task :install do |t|
 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)
 
        ddir = destdir + prefix + "/bin"
        FileUtils::Verbose.install("bin/redact", ddir, :mode => 0755)