]> code.delx.au - gnu-emacs-elpa/commitdiff
correct rake file dependency
authorZhang Chiyuan <pluskid@gmail.com>
Sat, 22 Mar 2008 10:47:36 +0000 (10:47 +0000)
committerZhang Chiyuan <pluskid@gmail.com>
Sat, 22 Mar 2008 10:47:36 +0000 (10:47 +0000)
Rakefile

index 921f3a0dcc2d5abd72463cf06bc7284c904bb79a..cfb20cca2f099a028ed95313e941256ec2dc2e0f 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -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