aboutsummaryrefslogtreecommitdiffstats
path: root/annual-meetings/motions/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2020-03-25 12:05:15 +0100
committerGustav Eek <gustav.eek@fripost.org>2020-03-25 12:05:15 +0100
commit651cc8c6a1eff5bf0689f99ab0b73dd954f99d60 (patch)
tree2df81615fa8f6c322738b215441a58171fb2b0a9 /annual-meetings/motions/Makefile
parent99ed758d9a9e949d9190e08d4bceeb0408d69b48 (diff)
parent42921d4813a3d85c64f2448a7633a2d3c6baa75a (diff)
Merge branch 'master' into 2019-09-23-board
Diffstat (limited to 'annual-meetings/motions/Makefile')
-rw-r--r--annual-meetings/motions/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/annual-meetings/motions/Makefile b/annual-meetings/motions/Makefile
new file mode 100644
index 0000000..cd0204d
--- /dev/null
+++ b/annual-meetings/motions/Makefile
@@ -0,0 +1,10 @@
+TEX = $(addsuffix _.tex, $(basename $(shell ls *.mdwn)))
+ALL = $(TEX)
+
+all: $(ALL)
+
+%_.tex: %.mdwn
+ cat < $< | sed -e 's/SCB/\\scb\\/g' -e 's/^$$/\\mypar\n/' | pandoc -f markdown -t latex > $@
+
+clean:
+ rm -f $(ALL)