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

index 9f3a1b39bccaa4337a3146de1af5a95d7de2535e..fced7b39020eddd42e3163619a38fc2baa7d7bc7 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -38,3 +38,17 @@ task :install => ext_libs.map { |l| l.so } do |t|
        FileUtils::Verbose.install(t.prerequisites.to_a, destdir + sitearchdir,
                                   :mode => 0755)
 end
+
+Rake::RDocTask.new do |t|
+       t.rdoc_dir = "doc"
+       t.title = "ruby-esmart -- Ruby bindings for Esmart"
+       t.options = ["--line-numbers", "--inline-source", "--main", "README"]
+       t.rdoc_files = FileList[
+               "AUTHORS", "COPYING", "README",
+               "src/rb_esmart.c",
+               "src/esmart_container/rb_esmart_container.c",
+               "src/esmart_draggies/rb_esmart_draggies.c",
+               "src/esmart_file_dialog/rb_esmart_file_dialog.c",
+               "src/esmart_trans_x11/rb_esmart_trans_x11.c"
+       ]
+end