It now installs all Ruby files found in lib/redact.
--
-$Id: ChangeLog 14 2005-03-29 16:25:21Z tilman $
+$Id: ChangeLog 15 2005-03-29 19:21:00Z tilman $
++
2005-03-29 Tilman Sauerbeck (tilman at code-monkey de)
* Rakefile: Tweak lookup of PKG_VERSION
* Rakefile: Require Rake 0.5.0 or greater
+ * Rakefile: Fixed the install task so it installs all Ruby files
+ found in lib/redact
2005-03-28 Tilman Sauerbeck (tilman at code-monkey de)
* lib/redact/app.rb: Tweaked "redact --version" output
-# $Id: Rakefile 14 2005-03-29 16:25:21Z tilman $
+# $Id: Rakefile 15 2005-03-29 19:21:00Z tilman $
require "rake/clean"
require "rake/testtask"
ddir = destdir + sitelibdir + "/redact"
FileUtils::Verbose.mkdir(ddir) unless File.directory?(ddir)
-
- ["app", "part", "program", "redact"].each do |file|
- FileUtils::Verbose.install("lib/redact/#{file}.rb", ddir,
- :mode => 0644)
- end
+ FileUtils::Verbose.install(Dir["lib/redact/*.rb"], ddir,
+ :mode => 0644)
end
task :test