]> git.donarmstrong.com Git - using_make_for_science.git/blob - Makefile
flip around variable setting to match the sentence where it is described
[using_make_for_science.git] / Makefile
1 #!/usr/bin/make -f
2
3 all: using_make_for_science.pdf
4
5 relevant_xkcd.png:
6         wget -O $@ "http://imgs.xkcd.com/comics/automation.png"
7
8 %.tex: %.Rnw
9         R --encoding=utf-8 -e \
10         "library('knitr'); knit('$<')"
11
12 %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
13         latexmk -pdf \
14         -pdflatex='xelatex -shell-escape -8bit -interaction=nonstopmode %O %S' \
15         -bibtex -use-make $<