diff options
author | Daniel DeLeo <dan@opscode.com> | 2011-04-07 14:31:49 -0700 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2011-04-08 10:20:14 -0700 |
commit | 0ccbd635d5d9db8ee20c62b5e2ecf370836052e4 (patch) | |
tree | 7d3907b2a9fc26a3a0299d7c07cf748b0def5852 /chef/Rakefile | |
parent | cf3b90677be7ca52402e9712fdbd28dcdb81c556 (diff) | |
download | chef-0ccbd635d5d9db8ee20c62b5e2ecf370836052e4.tar.gz |
moving knife to section 1 of the manual
Diffstat (limited to 'chef/Rakefile')
-rw-r--r-- | chef/Rakefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chef/Rakefile b/chef/Rakefile index b455830b03..9f831197ba 100644 --- a/chef/Rakefile +++ b/chef/Rakefile @@ -68,16 +68,16 @@ namespace :docs do task :html if system('which ronn > /dev/null') - Dir['distro/common/markdown/*.mkd'].each do |mkd| + Dir['distro/common/markdown/man1/*.mkd'].each do |mkd| basename = File.basename(mkd, '.mkd') - manfile = "distro/common/man/man8/#{basename}.8" - htmlfile = "distro/common/html/#{basename}.8.html" - file(manfile) do + manfile = "distro/common/man/man1/#{basename}.1" + htmlfile = "distro/common/html/#{basename}.1.html" + file(manfile => mkd) do sh "ronn -r #{RONN_OPTS} #{mkd} --pipe > #{manfile}" end task :man => manfile - file(htmlfile) do + file(htmlfile => mkd) do sh "ronn -5 #{RONN_OPTS} #{mkd} --pipe > #{htmlfile}" end |