PDF=naturalness_from_the_script_preprint.pdf
TEX=main.tex appendix.tex references.bib
FIGURES=$(wildcard figures/*.png)

.PHONY: all clean package

all: $(PDF)

$(PDF): $(TEX) $(FIGURES)
	tectonic main.tex
	mv main.pdf $(PDF)

clean:
	rm -f *.aux *.bbl *.blg *.log *.out *.toc *.fls *.fdb_latexmk main.pdf

package: clean
	tar -czf naturalness_from_the_script_arxiv_source.tar.gz main.tex appendix.tex references.bib Makefile README.md figures
