aboutsummaryrefslogtreecommitdiffstats
path: root/operational-plans/Makefile
diff options
context:
space:
mode:
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 $@) $<