Makefile 226 Bytes
Newer Older
Christopher Bohn's avatar
Christopher Bohn committed
1
2
3
4
5
6
7
8
9
ASSIGNMENTS		= $(wildcard *.md)
ASSIGNMENT_HTML	= $(ASSIGNMENTS:%.md=%.html)

all: $(ASSIGNMENT_HTML)

%.html: %.md
	pandoc -o $@ $<
	sed "s/’/'/g" $@ | sed "s/‘/'/g" | sed 's/”/"/g' | sed 's/“/"/g' > temp
	mv temp $@