aboutsummaryrefslogtreecommitdiffstats
path: root/operational-plans/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'operational-plans/Makefile')
-rw-r--r--operational-plans/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/operational-plans/Makefile b/operational-plans/Makefile
index dcaaaa0..cf9c982 100644
--- a/operational-plans/Makefile
+++ b/operational-plans/Makefile
@@ -1,13 +1,13 @@
-# Makefile for minutes with usual treatments, that is noting extra then just compilation.
-#
-# Gustav Eek 2011
+ALL = \
+ operational-plan-2015 \
+ operational-plan-2013 \
+ operational-plan-2012 \
-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'
+common-makefile = ../resources/Makefile-common
-all: \
-operational-plan-2013.pdf \
-operational-plan-2012.pdf
+all: $(ALL)
+
+$(ALL): %: %.pdf
%.pdf: %.main.tex %.tex ../preamble/preamble.tex
latex_count=5 ;\
@@ -20,8 +20,7 @@ operational-plan-2012.pdf
mv $$(echo $< | sed 's/.tex/.pdf/') $@
send:
- rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf fripost@fripost.org:fripost.org/minutes/
-
+ make -f $(common-makefile) send SEND_FILES="$(ALL)"
clean:
rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~