diff --git a/makefile b/makefile new file mode 100644 index 0000000..f5af921 --- /dev/null +++ b/makefile @@ -0,0 +1,13 @@ +MDS := $(wildcard *.md) +PDFS := $(MDS:.md=.pdf) + +all: $(PDFS) + +show: $(PDFS) + xdg-open $< + +clean: + rm *.pdf + +%.pdf: $(MDS) + pandoc --filter pandoc-citeproc -o $@ $<