aboutsummaryrefslogtreecommitdiff
path: root/rakelib/doc.rake
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-03 10:23:50 +0200
committerEugen Wissner <belka@caraus.de>2026-07-03 10:23:50 +0200
commitd9cd03ffeb13a5c30d8337ba27f15e1ba2959e4d (patch)
tree511ef9fbbfd953b0819c799b2ba866be8ff1cfd3 /rakelib/doc.rake
parent4ad6052aa2816f8296e62569272e99fc0d2fd3c1 (diff)
downloadelna-d9cd03ffeb13a5c30d8337ba27f15e1ba2959e4d.tar.gz
Move the documentation from the old branch
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