diff options
| -rw-r--r-- | 2013/Makefile | 17 | ||||
| -rw-r--r-- | by-laws/Makefile | 3 | ||||
| -rw-r--r-- | operational-plans/Makefile | 3 | 
3 files changed, 12 insertions, 11 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; diff --git a/by-laws/Makefile b/by-laws/Makefile index f18edbf..e17d0dd 100644 --- a/by-laws/Makefile +++ b/by-laws/Makefile @@ -14,8 +14,7 @@ by-laws-2010.pdf  	latex_count=5 ;\  	latex_log=$$(echo $< | sed 's/.tex/.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 ;\ diff --git a/operational-plans/Makefile b/operational-plans/Makefile index 8c03650..dcaaaa0 100644 --- a/operational-plans/Makefile +++ b/operational-plans/Makefile @@ -13,8 +13,7 @@ operational-plan-2012.pdf  	latex_count=5 ;\  	latex_log=$$(echo $< | sed 's/.tex/.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  | 
