Skip to content
Snippets Groups Projects
Makefile 226 B
Newer Older
Christopher Bohn's avatar
Christopher Bohn committed
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 $@