lib/rake/rdoctask.rb in jimweirich-rake-0.8.1.10 vs lib/rake/rdoctask.rb in jimweirich-rake-0.8.1.11
- old
+ new
@@ -100,10 +100,10 @@
task :clobber => ["clobber_#{name}"]
directory @rdoc_dir
task name => [rdoc_target]
- file rdoc_target => @rdoc_files + [$rakefile] do
+ file rdoc_target => @rdoc_files + [Rake.application.rakefile] do
rm_r @rdoc_dir rescue nil
args = option_list + @rdoc_files
if @external
argstring = args.join(' ')
sh %{ruby -Ivendor vender/rd #{argstring}}