Added an RDoc task.
authorTilman Sauerbeck <tilman@code-monkey.de>
Thu, 5 Apr 2007 19:29:38 +0000 (21:29 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Thu, 5 Apr 2007 19:29:38 +0000 (21:29 +0200)
Rakefile

index e8f3316..f1be607 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -33,3 +33,13 @@ task :install => [ext_lib.so] do |t|
        FileUtils::Verbose.mkdir_p(ddir) unless File.directory?(ddir)
        FileUtils::Verbose.install(ext_lib.so, ddir, :mode => 0755)
 end
+
+Rake::RDocTask.new do |t|
+       t.rdoc_dir = "doc"
+       t.title = "ruby-edje -- Edje bindings for Ruby"
+       t.options = ["--line-numbers", "--inline-source", "--main", "README"]
+       t.rdoc_files = FileList[
+               "AUTHORS", "COPYING", "README",
+               "src/rb_edje_main.c", "src/rb_edje.c", "src/rb_part.c"
+       ]
+end