Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 20 lines (12 sloc) 363 Bytes
SRC = $(wildcard *.md)
PDFS=$(SRC:.md=.pdf)
HTML=$(SRC:.md=.html)
all: clean $(PDFS) $(HTML)
pdf: clean $(PDFS)
html: clean $(HTML)
%.html: %.md
python resume.py html < $< | pandoc -t html -c resume.css -o $@
%.pdf: %.md
python resume.py tex < $< | pandoc --template=./pandoc-templates/default.latex -H header.tex -o $@
clean:
rm -f *.html *.pdf