[cairo-commit] rcairo ChangeLog,1.318,1.319 Rakefile,1.15,1.16
Kouhei Sutou
commit at pdx.freedesktop.org
Sun Dec 13 03:31:41 PST 2009
Committed by: kou
Update of /cvs/cairo/rcairo
In directory kemper:/tmp/cvs-serv17283
Modified Files:
ChangeLog Rakefile
Log Message:
* Rakefile: remove install/uninstall tasks.
Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/rcairo/ChangeLog,v
retrieving revision 1.318
retrieving revision 1.319
diff -u -d -r1.318 -r1.319
--- ChangeLog 13 Dec 2009 11:27:44 -0000 1.318
+++ ChangeLog 13 Dec 2009 11:31:39 -0000 1.319
@@ -4,6 +4,8 @@
* NEWS: add 1.8.1 entry.
+ * Rakefile: remove install/uninstall tasks.
+
2009-03-27 Kouhei Sutou <kou at clear-code.com>
* pkg-config.rb: add license term.
Index: Rakefile
===================================================================
RCS file: /cvs/cairo/rcairo/Rakefile,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Rakefile 17 Aug 2008 08:02:16 -0000 1.15
+++ Rakefile 13 Dec 2009 11:31:39 -0000 1.16
@@ -105,38 +105,8 @@
project.spec.executables.clear
project.lib_files = project.spec.files.grep(%r|^src/lib/|)
-# fix Hoe's install and uninstall task.
-task(:install).instance_variable_get("@actions").clear
-task(:uninstall).instance_variable_get("@actions").clear
-
task(:release).prerequisites.reject! {|name| name == "clean"}
-task :install do
- [
- [project.lib_files, "lib", Hoe::RUBYLIB, 0444],
- [project.bin_files, "bin", File.join(Hoe::PREFIX, 'bin'), 0555]
- ].each do |files, prefix, dest, mode|
- FileUtils.mkdir_p dest unless test ?d, dest
- files.each do |file|
- base = File.dirname(file.sub(/^#{prefix}#{File::SEPARATOR}/, ''))
- _dest = File.join(dest, base)
- FileUtils.mkdir_p _dest unless test ?d, _dest
- install file, _dest, :mode => mode
- end
- end
-end
-
-desc 'Uninstall the package.'
-task :uninstall do
- Dir.chdir Hoe::RUBYLIB do
- rm_f project.lib_files.collect {|f| f.sub(/^lib#{File::SEPARATOR}/, '')}
- end
- Dir.chdir File.join(Hoe::PREFIX, 'bin') do
- rm_f project.bin_files.collect {|f| f.sub(/^bin#{File::SEPARATOR}/, '')}
- end
-end
-
-
# for releasing
task :dist => [:docs] do
sh "./dist.sh", version
More information about the cairo-commit
mailing list