Skip to content
Snippets Groups Projects
Makefile 358 B
Newer Older
.PHONY: all clean cleantmp

all: coverletter.pdf rebut1.pdf rebut2.pdf

%.pdf: input/%.tex
Pierre Augier's avatar
Pierre Augier committed
	cd input && latexmk -pdf -halt-on-error $(basename $@).tex && rsync $@ ../$@
	cd input && formattex *.tex -i -v

cleantmp:
	rm -rf tmp tmp_*

clean: cleantmp
	cd input && rm -f rebut*.pdf coverletter.pdf *.aux *.bbl *.blg *.log *.gz
cleanpdf:
	rm -f *.pdf