diff --git a/assignment/.gitignore b/assignment/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..2d19fc766d98a08d9d1437896bfb008a7b15f340 --- /dev/null +++ b/assignment/.gitignore @@ -0,0 +1 @@ +*.html diff --git a/assignment/Makefile b/assignment/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..0df9cecf61cc2047ac935430b543b503524221f2 --- /dev/null +++ b/assignment/Makefile @@ -0,0 +1,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 $@