projects
/
redact.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use FileUtils.mkdir_p to create the destination directory.
[redact.git]
/
Rakefile
diff --git
a/Rakefile
b/Rakefile
index 3e47175a8ecd41c0e3a528d8b37b459955aa6964..c94f6cf0efc951e3ed144fe2da15d1e4e16c67f1 100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-1,4
+1,4
@@
-# $Id: Rakefile
34 2005-04-25 17:12:29
Z tilman $
+# $Id: Rakefile
41 2005-05-29 10:39:46
Z tilman $
require "rake/clean"
require "rake/testtask"
require "rake/clean"
require "rake/testtask"
@@
-16,7
+16,7
@@
PKG_NAME = "redact"
PKG_VERSION = File.read("lib/redact/redact.rb").
match(/^\s*VERSION = \"(.*)\"\s*$/).captures.first
PKG_VERSION = File.read("lib/redact/redact.rb").
match(/^\s*VERSION = \"(.*)\"\s*$/).captures.first
-CLOBBER.include(
FileList["test/*.edj"]
)
+CLOBBER.include(
"test/*.edj"
)
sitelibdir = Config::CONFIG["sitelibdir"]
destdir = "#{ENV["DESTDIR"]}"
sitelibdir = Config::CONFIG["sitelibdir"]
destdir = "#{ENV["DESTDIR"]}"
@@
-28,7
+28,7
@@
task :install do |t|
ddir = destdir + sitelibdir + "/redact"
ddir = destdir + sitelibdir + "/redact"
- FileUtils::Verbose.mkdir(ddir) unless File.directory?(ddir)
+ FileUtils::Verbose.mkdir
_p
(ddir) unless File.directory?(ddir)
FileUtils::Verbose.install(Dir["lib/redact/*.rb"], ddir,
:mode => 0644)
end
FileUtils::Verbose.install(Dir["lib/redact/*.rb"], ddir,
:mode => 0644)
end