TEMPLATES_RST=$(wildcard templates/*)
TEMPLATES_MD=$(TEMPLATES_RST:%=%.md)
all: markdown

markdown: $(TEMPLATES_MD)

clean:
	rm -rf templates/*.md

# Generic rule for generating Markdown from RestructuredText.
%.md: %
	pandoc -r rst -w markdown -o $@ $^
