# Makefile for minutes with usual treatments, that is noting extra then just compilation. # # Gustav Eek 2011 all: \ board-meeting-agenda.pdf \ yearly-meeting-agenda.pdf \ %.pdf: %.tex ../preamble/preamble.tex latex_count=5 ; \ jobname=$(basename $@) ;\ pdflatex -jobname="$$jobname" $< ;\ while egrep -s 'Rerun (LaTeX|to get cross-references right)' $$jobname.log && [ $$latex_count -gt 0 ] ;\ do echo "Rerunning latex...." ; pdflatex $<; latex_count=`expr $$latex_count - 1`; done send: # sends to fripost.org for publication umask 022 ;\ rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf www.fripost.org:/var/www/fripost.org/minutes clean: rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~