[cairo-commit] rcairo ChangeLog,1.235,1.236 Rakefile,1.6,1.7

Kouhei Sutou commit at pdx.freedesktop.org
Fri Apr 11 05:15:34 PDT 2008


Committed by: kou

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

Modified Files:
	ChangeLog Rakefile 
Log Message:
* Rakefile: follow the recent Hoe's changes.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/rcairo/ChangeLog,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -d -r1.235 -r1.236
--- ChangeLog	11 Apr 2008 11:07:09 -0000	1.235
+++ ChangeLog	11 Apr 2008 12:20:23 -0000	1.236
@@ -1,5 +1,7 @@
 2008-04-11  Kouhei Sutou  <kou at cozmixng.org>
 
+	* Rakefile: follow the recent Hoe's changes.
+
 	* src/rb_cairo_surface.c: implemented Cairo::PSSurface#eps?.
 
 	* samples/png.rb: use convenience notation.

Index: Rakefile
===================================================================
RCS file: /cvs/cairo/rcairo/Rakefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Rakefile	11 Jan 2008 13:28:13 -0000	1.6
+++ Rakefile	11 Apr 2008 12:20:23 -0000	1.7
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 # -*- ruby -*-
 
 require 'English'
@@ -25,7 +26,7 @@
                                   NEWS README Rakefile
                                   extconf.rb pkg-config.rb)
 excluded_components = %w(.cvsignore .gdb_history CVS depend Makefile pkg)
-excluded_suffixes = %w(.png .ps .pdf .o .so .txt)
+excluded_suffixes = %w(.png .ps .pdf .o .so .txt .~)
 Find.find(base_dir) do |target|
   target = truncate_base_dir[target]
   components = target.split(File::SEPARATOR)
@@ -40,7 +41,13 @@
 File.open(manifest, "w") do |f|
   f.puts manifest_contents.sort.join("\n")
 end
+
+# For Hoe's no user friendly default behavior. :<
+File.open("README.txt", "w") {|file| file << "= Dummy README\n== XXX\n"}
+FileUtils.cp("NEWS", "History.txt")
 at_exit do
+  FileUtils.rm_f("README.txt")
+  FileUtils.rm_f("History.txt")
   FileUtils.rm_f(manifest)
 end
 



More information about the cairo-commit mailing list