gdritter repos resume / b8fd385
add gitignore and makefile Getty Ritter 5 years ago
2 changed file(s) with 13 addition(s) and 0 deletion(s). Collapse all Expand all
1 *.aux
2 *.log
3 *.out
4 *.pdf
1 resume.pdf: resume.tex
2 $(eval TMPDIR := $(shell mktemp -d))
3 @echo "\033[0;94m[PDFLATEX]\033[0m $@"
4 @pdflatex -interaction=nonstopmode -output-directory=$(TMPDIR) $< >$(TMPDIR)/log.txt 2>&1 || ( cat $(TMPDIR)/log.txt >&2; exit 1 )
5 @mv $(TMPDIR)/`basename $@` $@
6 @rm -rf $(TMPDIR)
7
8 clean:
9 rm -f *.pdf