correct rake file dependency

This commit is contained in:
Zhang Chiyuan 2008-03-22 10:47:36 +00:00
parent 5d7e3577d6
commit 87c0aa0990

View File

@ -45,7 +45,7 @@ rule '.html' => '.rst' do |t|
sh "doc/compile-doc.py #{t.source} > #{t.name}"
end
desc "Generate document"
task :doc => FileList['doc/*.html']
task :doc => FileList['doc/*.rst'].ext('html')
namespace :doc do
task :upload do