aboutsummaryrefslogtreecommitdiffstats
path: root/annual-meetings/motions/Makefile
blob: cd0204dcfe4dfe1e7c45105590311f81fbd26227 (plain)
1
2
3
4
5
6
7
8
9
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)