aboutsummaryrefslogtreecommitdiffstats
path: root/operational-plans/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2018-04-29 18:52:43 +0200
committerGustav Eek <gustav.eek@fripost.org>2018-04-29 20:49:10 +0200
commit7d902586a7d9e74206dfc0f90021e44b06af1868 (patch)
tree17876167705017f0b65335ffcfc80a1644392599 /operational-plans/Makefile
parent8727191be56780005678f000c68e4b28c8cde92a (diff)
Operational plan section attended
The activity day operational plan notes *notes-plan-2017.tex* are added. The section in minutes is attended to reflect reality (template deleted). Also the template *operational-plan-2017.tex* is removed. The master document *operational-plan-2017-master.tex* is of course also addressed in accordance with above.
Diffstat (limited to 'operational-plans/Makefile')
-rw-r--r--operational-plans/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/operational-plans/Makefile b/operational-plans/Makefile
index 9e628b5..53650e6 100644
--- a/operational-plans/Makefile
+++ b/operational-plans/Makefile
@@ -6,10 +6,18 @@ noarg:
echo -e '\nThis script do not run without arguments. Run for example:\n\n make 2011-02-13-board-notes.pdf\n make all\n'
all: \
-operational-plan-2017.pdf \
-operational-plan-2016.pdf \
-operational-plan-2013.pdf \
-operational-plan-2012.pdf
+ operational-plan-2017.pdf \
+ operational-plan-2016.pdf \
+ operational-plan-2013.pdf \
+ operational-plan-2012.pdf
+
+# Special cases
+
+operational-plan-2017.pdf: operational-plan-2017-master.tex notes-plan-2017.tex
+ pdflatex -jobname=$(basename $@) $<
+ pdflatex -jobname=$(basename $@) $<
+
+# General cases
operational-plan-%.pdf: operational-plan-%-master.tex operational-plan-%.tex
pdflatex -jobname=$(basename $@) $<