aboutsummaryrefslogtreecommitdiffstats
path: root/annual-meetings/motions/Makefile
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-05-14 11:15:05 +0200
committerGustav Eek <gustav.eek@fripost.org>2019-05-15 08:35:51 +0200
commit0c268f6ee76b4e30459ea5f0ab6dbb9cae419dc2 (patch)
treece923253628279ddcaa6d2d770dee065c304834c /annual-meetings/motions/Makefile
parentd31b7db885e5bf6e1555c6b93b8c414aed2e909b (diff)
Add motions Makefile
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)