diff options
author | Gustav Eek <gustav.eek@proceranetworks.com> | 2013-03-28 12:20:57 +0100 |
---|---|---|
committer | Gustav Eek <gustav.eek@proceranetworks.com> | 2013-04-20 09:18:01 +0200 |
commit | 4b2025f39d5816f2a5539c90b126d2f362bf881e (patch) | |
tree | 0aef03dc677fa666a68bf534d41b7bdd4e066899 /2013 | |
parent | ebf3b7a522ddc1070d7694c6a14e6c5666180b0f (diff) |
Errors in Makefiles corrected
Diffstat (limited to '2013')
-rw-r--r-- | 2013/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/2013/Makefile b/2013/Makefile index 6126eda..6ab81b8 100644 --- a/2013/Makefile +++ b/2013/Makefile @@ -8,20 +8,23 @@ all: \ %.pdf: %.tex ../preamble/preamble.tex latex_count=5 ;\ - latex_log=$$(echo $@ | sed 's/.pdf/.log') ;\ + latex_log=$$(echo $@ | sed 's/.pdf/.log/') ;\ pdflatex $< ;\ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' \\\ - $$latex_log && [ $$latex_count -gt 0 ] ;\ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' $$latex_log && [ $$latex_count -gt 0 ] ;\ do echo "Rerunning latex...." ; pdflatex $< ;\ latex_count=`expr $$latex_count - 1`;\ done; -%.pdf: %.tex ../preamble/preamble.tex +2013-03-23-annual.pdf: 2013-03-23-annual.tex \ +../preamble/preamble.tex \ +../annual-reports/annual-report-2013.tex \ +../by-laws/by-laws-2013.tex \ +../operational-plans/operational-plan-2013.tex \ +../annual-reports/2013-03-23-revisionsberaettelse.jpg latex_count=5 ;\ - latex_log=$$(echo $@ | sed 's/.pdf/.log') ;\ + latex_log=$$(echo $@ | sed 's/.pdf/.log/') ;\ pdflatex $< ;\ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' \\\ - $$latex_log && [ $$latex_count -gt 0 ] ;\ + while egrep -s 'Rerun (LaTeX|to get cross-references right)' $$latex_log && [ $$latex_count -gt 0 ] ;\ do echo "Rerunning latex...." ; pdflatex $< ;\ latex_count=`expr $$latex_count - 1`;\ done; |