From 0c268f6ee76b4e30459ea5f0ab6dbb9cae419dc2 Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Tue, 14 May 2019 11:15:05 +0200 Subject: Add motions Makefile --- annual-meetings/motions/.gitignore | 1 + annual-meetings/motions/Makefile | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 annual-meetings/motions/.gitignore create mode 100644 annual-meetings/motions/Makefile (limited to 'annual-meetings') diff --git a/annual-meetings/motions/.gitignore b/annual-meetings/motions/.gitignore new file mode 100644 index 0000000..5f5cf28 --- /dev/null +++ b/annual-meetings/motions/.gitignore @@ -0,0 +1 @@ +*_.* \ No newline at end of file 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) -- cgit v1.2.3