summaryrefslogtreecommitdiff
path: root/rakelib/doc.rake
diff options
context:
space:
mode:
Diffstat (limited to 'rakelib/doc.rake')
-rw-r--r--rakelib/doc.rake5
1 files changed, 3 insertions, 2 deletions
diff --git a/rakelib/doc.rake b/rakelib/doc.rake
index 54f5d35..7838871 100644
--- a/rakelib/doc.rake
+++ b/rakelib/doc.rake
@@ -19,8 +19,9 @@ rule '.bbl' => '.bcf' do |t|
end
namespace :doc do
- task :tex do
- sh 'pdflatex', '-output-directory', '../build/doc', 'report', chdir: 'doc'
+ task tex: 'build/doc' do |t|
+ sh 'pdflatex', '-output-directory', "../#{t.prerequisites.first}", 'report',
+ chdir: 'doc'
end
end