aboutsummaryrefslogtreecommitdiffstats
path: root/operational-plans/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'operational-plans/Makefile')
-rw-r--r--operational-plans/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/operational-plans/Makefile b/operational-plans/Makefile
index 529c88e..4e008ae 100644
--- a/operational-plans/Makefile
+++ b/operational-plans/Makefile
@@ -10,10 +10,6 @@ all: $(ALL)
$(ALL): %: %.pdf
-# Special cases
-
-operational-plan-2018.main.tex: notes-plan-2018.tex
-
# General cases
%.pdf: %.main.tex %.tex ../preamble/preamble.tex
@@ -26,6 +22,14 @@ operational-plan-2018.main.tex: notes-plan-2018.tex
done
mv $$(echo $< | sed 's/.tex/.pdf/') $@
+# Special cases
+
+operational-plan-2018.main.tex: operational-policy-2018_.tex
+ touch $@
+operational-policy-2018_.tex: ../by-laws/operational-policy-2018.tex
+ sed -e 's/\\\(.*\)section *{/\\sub\1section{/g' < $< > $@
+
+
send:
make -f $(common-makefile) send SEND_FILES="$(ALL)"