From: Tilman Sauerbeck Date: Sun, 8 Apr 2007 12:06:17 +0000 (+0200) Subject: Added an RDoc task. X-Git-Url: http://git.code-monkey.de/?p=ruby-esmart.git;a=commitdiff_plain;h=9254eff2a8ce72d5ce7ae945ef1e9b41fe85c971 Added an RDoc task. --- diff --git a/Rakefile b/Rakefile index 9f3a1b3..fced7b3 100644 --- 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