Added Ecore::Evas::EcoreEvas#has_alpha? and #has_alpha=.
[ruby-ecore.git] / Rakefile
index d020227398f6683b0edb52ac9b2a7925facf5049..d0bb4649b49f9aced89668989d37ce2e7f84eb23 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,4 @@
-# $Id: Rakefile 362 2006-02-13 22:46:35Z tilman $
+# $Id: Rakefile 379 2006-04-02 21:45:20Z tilman $
 
 require "library"
 require "rake/clean"
@@ -33,11 +33,13 @@ task :install => ext_libs.map { |l| l.so } do |t|
        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_p(ddir) unless File.directory?(ddir)
 
        headers = ["src/ecore_evas/rb_ecore_evas.h",
                   "src/ecore_x/rb_window.h"]