aboutsummaryrefslogtreecommitdiffstats
path: root/agenda/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@etraveli.com>2017-05-09 21:53:15 +0200
committerGustav Eek <gustav.eek@etraveli.com>2017-05-09 21:53:15 +0200
commitb5b613ed628948d38968e897b6d4558d227c613e (patch)
treea7366bdc47261522b584c684b23ba44e7ae5d844 /agenda/Makefile
parentad33c470cc6f8878afd24133f4ffd1db7acff5ca (diff)
parentbbdb2e6b58317aac124c0bf176bd2e67b4ed4413 (diff)
Merge branch '2016-04-17-annual' into 2017-05-13-annual
Conflicts: 2016/Makefile agenda/Makefile
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 ;\