Skip to content
Snippets Groups Projects
Makefile 456 B
Newer Older
Pierre Augier's avatar
Pierre Augier committed
NAME = article

$(NAME).pdf: figures
vlabarre's avatar
vlabarre committed
	cd input && latexmk -f -shell-escape -pdf $(NAME).tex && rsync $(NAME).pdf ../$(NAME).pdf
Pierre Augier's avatar
Pierre Augier committed

figures:
	python py/make_figures.py SAVE

clean:
	rm -f tmp/*.tex
	cd input && rm -f *.aux *.fdb_latexmk *.fls *.log *.bak* *.bbl *.blg *.out *Notes.bib

cleantmp:
	rm -rf tmp

cleanpdf:
	rm -f $(NAME).pdf input/$(NAME).pdf

cleanall: clean cleantmp cleanpdf

format:
	cd input && formattex *.tex -i -v

black:
	black -l 82 py