From 9254eff2a8ce72d5ce7ae945ef1e9b41fe85c971 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 8 Apr 2007 14:06:17 +0200 Subject: [PATCH] Added an RDoc task. --- Rakefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.30.2