Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : apps/euphoria

Dir     : e17/apps/euphoria


Modified Files:
        Rakefile 


Log Message:
theme compat work
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/euphoria/Rakefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Rakefile    25 Apr 2005 15:29:25 -0000      1.2
+++ Rakefile    28 Apr 2005 08:17:45 -0000      1.3
@@ -1,4 +1,4 @@
-# $Id: Rakefile,v 1.2 2005/04/25 15:29:25 tsauerbeck Exp $
+# $Id: Rakefile,v 1.3 2005/04/28 08:17:45 tsauerbeck Exp $
 
 require "rbconfig"
 
@@ -6,6 +6,19 @@
 destdir = "#{ENV["DESTDIR"]}"
 prefix = ENV["PREFIX"] || "/usr/local"
 
+themes = ["default", "iio", "streamline", "winter"].map do |t|
+       "data/themes/#{t}/#{t}.edj"
+end
+
+task :themes => themes
+
+rule ".edj" => [".edc"] do |t|
+       Dir.chdir(File.dirname(t.source)) do
+               sh "edje_cc -id img -id images " +
+                  "-fd ../../fonts -fd fonts #{File.basename(t.source)}"
+       end
+end
+
 task :install do |t|
        ddir = destdir + prefix + "/bin"
        FileUtils::Verbose.install("bin/euphoria", ddir, :mode => 0755)




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to