aboutsummaryrefslogtreecommitdiffstats
path: root/2013
diff options
context:
space:
mode:
Diffstat (limited to '2013')
-rw-r--r--2013/Makefile17
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;