diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-09-09 17:44:36 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-09-09 17:44:36 +0100 |
commit | 926b96b632d4d395807effd4050394725e8a7d79 (patch) | |
tree | 218d4ab5ff068dc1f8bcfacffa69f23d2994c89e /railties/Rakefile | |
parent | 37356d165cf661b340eb8e22287d95953b0bdfa8 (diff) | |
download | rails-926b96b632d4d395807effd4050394725e8a7d79.tar.gz rails-926b96b632d4d395807effd4050394725e8a7d79.tar.bz2 rails-926b96b632d4d395807effd4050394725e8a7d79.zip |
Force generate guides
Diffstat (limited to 'railties/Rakefile')
-rw-r--r-- | railties/Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 1ac29f7bc6..1f4eb8e800 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -298,14 +298,14 @@ guides.each do |entry| input = "doc/guides/#{guide_folder}/#{guide_name}.txt" output = "doc/guides/#{guide_folder}/#{guide_name}.html" guides_html_files << output - file output => Dir["doc/guides/#{guide_folder}/*.txt"] do + task output => Dir["doc/guides/#{guide_folder}/*.txt"] do ENV['MANUALSONRAILS_INDEX_URL'] = '../index.html' ENV.delete('MANUALSONRAILS_TOC') sh "mizuho", input, "--template", "manualsonrails", "--icons-dir", "../icons" end end -file 'doc/guides/index.html' => 'doc/guides/index.txt' do +task 'doc/guides/index.html' => 'doc/guides/index.txt' do ENV.delete('MANUALSONRAILS_INDEX_URL') ENV['MANUALSONRAILS_TOC'] = 'no' sh "mizuho", 'doc/guides/index.txt', "--template", "manualsonrails", "--icons-dir", "icons" |