-# $Id: Rakefile 362 2006-02-13 22:46:35Z tilman $
+# $Id: Rakefile 377 2006-02-25 10:11:45Z tilman $
require "library"
require "rake/clean"
destdir = "#{ENV["DESTDIR"]}"
sitearchdir = ENV["RUBYARCHDIR"] || Config::CONFIG['sitearchdir']
- FileUtils::Verbose.install(t.prerequisites.to_a, destdir + sitearchdir,
+ ddir = destdir + sitearchdir
+ FileUtils::Verbose.mkdir_p(ddir) unless File.directory?(ddir)
+ FileUtils::Verbose.install(t.prerequisites.to_a, ddir,
:mode => 0755)
ddir = destdir + sitearchdir + "/ecore"
- FileUtils::Verbose.mkdir(ddir) unless File.directory?(ddir)
+ FileUtils::Verbose.mkdir_(ddir) unless File.directory?(ddir)
headers = ["src/ecore_evas/rb_ecore_evas.h",
"src/ecore_x/rb_window.h"]