]> git.donarmstrong.com Git - using_make_for_science.git/blob - Makefile
more changes to makefile presentation
[using_make_for_science.git] / Makefile
1 #!/usr/bin/make -f
2
3 all: using_make_for_science.pdf
4
5 %.tex: %.Rnw
6         R --encoding=utf-8 -e \
7         "library('knitr'); knit('$<')"
8
9 %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
10         latexmk -pdf \
11         -pdflatex='xelatex -shell-escape -8bit -interaction=nonstopmode %O %S' \
12         -bibtex -use-make $<