Added an RDoc task.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 8 Apr 2007 10:02:34 +0000 (12:02 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 8 Apr 2007 10:02:34 +0000 (12:02 +0200)
Rakefile

index 88c524a..94fceda 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -43,3 +43,25 @@ task :install => ext_libs.map { |l| l.so } do |t|
                   "src/ecore_x/rb_window.h"]
        FileUtils::Verbose.install(headers, ddir, :mode => 0644)
 end
+
+Rake::RDocTask.new do |t|
+       t.rdoc_dir = "doc"
+       t.title = "ruby-ecore -- Ruby bindings for Ecore"
+       t.options = ["--line-numbers", "--inline-source", "--main", "README"]
+       t.rdoc_files = FileList[
+               "AUTHORS", "COPYING", "README",
+               "src/ecore/rb_ecore.c", "src/ecore/rb_animator.c",
+               "src/ecore/rb_event_handler.c", "src/ecore/rb_fd_handler.c",
+               "src/ecore/rb_idle_enterer.c", "src/ecore/rb_idler.c",
+               "src/ecore/rb_timer.c",
+               "src/ecore_con/rb_ecore_con.c", "src/ecore_con/rb_server.c",
+               "src/ecore_job/rb_ecore_job.c", "src/ecore_job/rb_job.c",
+               "src/ecore_x/rb_cursor.c", "src/ecore_x/rb_ecore_x.c",
+               "src/ecore_x/rb_window.c",
+               "src/ecore_evas/rb_ecore_evas_main.c",
+               "src/ecore_evas/rb_ecore_evas.c",
+               "src/ecore_evas/rb_buffer.c", "src/ecore_evas/rb_fb.c",
+               "src/ecore_evas/rb_gl_x11.c", "src/ecore_evas/rb_software_x11.c",
+               "src/ecore_evas/rb_xrender_x11.c"
+       ]
+end