blob: fa862b5e0fb6da6edf80e60a0d77abc17a703c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Makefile for minutes with usual treatments, that is noting extra then just compilation.
#
# Gustav Eek 2011
bma = board-meeting-agenda
yma = yearly-meeting-agenda
all: $(bma).pdf $(yma).pdf
%.pdf: %.tex ../preamble/preamble.tex
pdflatex $<
latex_count=5 ; \
while egrep -s 'Rerun (LaTeX|to get cross-references right)' $(basename $@).log && [ $$latex_count -gt 0 ] ;\
do echo "Rerunning latex...." ; pdflatex $(basename $<).tex; 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 *~
|