[cairo-commit] rcairo ChangeLog,1.252,1.253 Rakefile,1.12,1.13

Kouhei Sutou commit at pdx.freedesktop.org
Fri Apr 25 17:24:16 PDT 2008


Committed by: kou

Update of /cvs/cairo/rcairo
In directory kemper:/tmp/cvs-serv29113

Modified Files:
	ChangeLog Rakefile 
Log Message:
* Rakefile: fix document dependency.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/rcairo/ChangeLog,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -d -r1.252 -r1.253
--- ChangeLog	24 Apr 2008 13:22:55 -0000	1.252
+++ ChangeLog	26 Apr 2008 00:30:39 -0000	1.253
@@ -1,3 +1,7 @@
+2008-04-26  Kouhei Sutou  <kou at cozmixng.org>
+
+	* Rakefile: fix document dependency.
+
 2008-04-24  Kouhei Sutou  <kou at cozmixng.org>
 
 	* extconf.rb: don't substitute prefixed gcc.

Index: Rakefile
===================================================================
RCS file: /cvs/cairo/rcairo/Rakefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Rakefile	24 Apr 2008 13:21:25 -0000	1.12
+++ Rakefile	26 Apr 2008 00:30:39 -0000	1.13
@@ -201,15 +201,12 @@
 
 langs.each do |lang,|
   lang_doc_dir = File.join(doc_dir, lang)
-  file lang_doc_dir do
-    mkdir_p lang_doc_dir
-  end
+  directory lang_doc_dir
   lang_doc_index = File.join(lang_doc_dir, "index.html")
-  task doc_index => lang_doc_index
+  file doc_index => lang_doc_index
   file lang_doc_index => [lang_doc_dir] do
     lang_doc_dir = File.join(doc_dir, lang)
     lang_rcairo_doc_dir = File.join(rcairo_doc_dir, lang)
-    mkdir_p lang_doc_dir
     cp Dir[File.join(lang_rcairo_doc_dir, "*.rd")], lang_doc_dir
     ruby File.join(rcairo_doc_dir, "update-html.rb"), lang_doc_dir
     ruby File.join(rcairo_doc_dir, "update-html.rb"), lang_doc_dir



More information about the cairo-commit mailing list