diff options
author | Steven Danna <steve@opscode.com> | 2011-08-02 15:54:56 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2011-08-03 14:45:53 -0700 |
commit | 6e4eb8e341fa76612e9a893dc5f78e47401c46ac (patch) | |
tree | a2f98bb88079d7b4a479559df7bf446db26f5b39 | |
parent | 21cb04af6b30bfdf6ea42afa55971458911b21be (diff) | |
download | chef-6e4eb8e341fa76612e9a893dc5f78e47401c46ac.tar.gz |
Depend on version.rb to ensure we rebuild with new releases.
-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 |