diff --git a/Rakefile b/Rakefile index c545dd3a..5da2bf2a 100644 --- a/Rakefile +++ b/Rakefile @@ -24,8 +24,8 @@ directory 'docs/' # Make index.html a copy of rocco.html -file 'docs/index.html' => 'docs/lib/middleman.html' do |f| - cp 'docs/lib/middleman.html', 'docs/index.html', :preserve => true +file 'docs/index.html' => 'docs/middleman.html' do |f| + cp 'docs/middleman.html', 'docs/index.html', :preserve => true end task :docs => 'docs/index.html' CLEAN.include 'docs/index.html' @@ -49,4 +49,4 @@ file 'docs/.git' => ['docs/', '.git/refs/heads/gh-pages'] do |f| sh "cd docs && git init -q && git remote add o ../.git" if !File.exist?(f.name) sh "cd docs && git fetch -q o && git reset -q --hard o/gh-pages && touch ." end -CLOBBER.include 'docs/.git' \ No newline at end of file +CLOBBER.include 'docs/.git'