aboutsummaryrefslogtreecommitdiffstats
path: root/agenda/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2018-04-29 22:50:20 +0200
committerGustav Eek <gustav.eek@fripost.org>2018-04-29 22:50:20 +0200
commita18c6ba51352f60d0bf0a8cd8a088b41872cd46c (patch)
tree7bf229ef022ed22c906c1eca5593bb064e3cfaa9 /agenda/Makefile
parentc00efc3abb3b065104be0055f3e0e0933440980a (diff)
parent92be899e95c3e84947500ec9c558c491f0b83b20 (diff)
Merge branch '2016-04-17-annual' into intgr/2016intgr/2016
Diffstat (limited to 'agenda/Makefile')
-rw-r--r--agenda/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/agenda/Makefile b/agenda/Makefile
index a518a72..fa862b5 100644
--- a/agenda/Makefile
+++ b/agenda/Makefile
@@ -2,16 +2,16 @@
#
# Gustav Eek 2011
-all: \
-board-meeting-agenda.pdf \
-yearly-meeting-agenda.pdf \
+bma = board-meeting-agenda
+yma = yearly-meeting-agenda
+
+all: $(bma).pdf $(yma).pdf
%.pdf: %.tex ../preamble/preamble.tex
+ pdflatex $<
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
+ 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 ;\