diff options
Diffstat (limited to 'chef/Rakefile')
-rw-r--r-- | chef/Rakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chef/Rakefile b/chef/Rakefile index 897b414c80..75b442ad98 100644 --- a/chef/Rakefile +++ b/chef/Rakefile @@ -74,7 +74,7 @@ namespace :docs do Dir['distro/common/man/man1/*.1'].each do |man| topics << File.basename(man, '.1') end - + File.open('lib/chef/knife/help_topics.rb', 'w') do |f| f.puts "# Do not edit this file by hand" f.puts "# This file is autogenerated by the docs:list rake task from the available manpages\n\n" @@ -95,12 +95,12 @@ namespace :docs do htmlfile = "distro/common/html/#{basename}.8.html" end - file(manfile => mkd) do + file(manfile => [mkd, 'lib/chef/version.rb']) do sh "ronn -r #{RONN_OPTS} #{mkd} --pipe > #{manfile}" end task :man => manfile - file(htmlfile => mkd) do + file(htmlfile => [mkd, 'lib/chef/version.rb']) do sh "ronn -5 #{RONN_OPTS} --style=toc #{mkd} --pipe > #{htmlfile}" end task :html => htmlfile |