X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=ad0190f5766d72a2a87e0cb02f5706321f6b5882;hb=f18c3e4b049a9d188c7088f5eb605176f7dcc1c9;hp=46624593bd52c38b8efd9118148fb28e636730d5;hpb=a58f8a92449aa803bf4396ae5f62f463ab1caf9c;p=ool%2Flipid_simulation_formalism.git diff --git a/Makefile b/Makefile index 4662459..ad0190f 100644 --- a/Makefile +++ b/Makefile @@ -16,15 +16,15 @@ R=R bmeps -lpdf -olevel=1.4 $< $@ %.tex: %.Rnw - $(R) CMD Sweave $< + $(R) --encoding=utf-8 -e "library('knitr'); knit('$<')" %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex) - rubber -fd $< + latexmk -pdf -pdflatex='xelatex -interaction=nonstopmode %O %S' -bibtex -use-make $< -clean: - rubber -d --clean *.tex +clean: + latexmk --clean rm -f *.tmp .PHONY: clean all -.DELETE_ON_ERROR: %.tex \ No newline at end of file +.DELETE_ON_ERROR: %.tex