add gitignore and makefile
Getty Ritter
6 years ago
| 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 |