From 7f57d2f04b87ccc02af4dcb57f7e9db2eae07d92 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sun, 20 May 2018 21:48:07 +0200 Subject: Refactor operational plan Makefiles The original structure contained "%.main.tex". Turn back to that structure. That means *Makefile* updates and rename 2015 operational plan main file. --- operational-plans/Makefile | 19 +++++++++---------- operational-plans/operational-plan-2015-master.tex | 6 ------ operational-plans/operational-plan-2015.main.tex | 6 ++++++ 3 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 operational-plans/operational-plan-2015-master.tex create mode 100644 operational-plans/operational-plan-2015.main.tex 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 *~ diff --git a/operational-plans/operational-plan-2015-master.tex b/operational-plans/operational-plan-2015-master.tex deleted file mode 100644 index 0e53941..0000000 --- a/operational-plans/operational-plan-2015-master.tex +++ /dev/null @@ -1,6 +0,0 @@ -\input{../preamble/preamble} \selectlanguage{swedish} -\rhead{\footnotesize Verksamhetsplan 2015} -\begin{document} -\section*{Verksamhetsplan 2015} -\input {operational-plan-2015} -\end{document} diff --git a/operational-plans/operational-plan-2015.main.tex b/operational-plans/operational-plan-2015.main.tex new file mode 100644 index 0000000..0e53941 --- /dev/null +++ b/operational-plans/operational-plan-2015.main.tex @@ -0,0 +1,6 @@ +\input{../preamble/preamble} \selectlanguage{swedish} +\rhead{\footnotesize Verksamhetsplan 2015} +\begin{document} +\section*{Verksamhetsplan 2015} +\input {operational-plan-2015} +\end{document} -- cgit v1.2.3