X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=ad0190f5766d72a2a87e0cb02f5706321f6b5882;hb=f18c3e4b049a9d188c7088f5eb605176f7dcc1c9;hp=7ca3bee39cf75852384922e81cc2d019bb92f335;hpb=71fe9a449493874b80afa86025743dec8dd4051b;p=ool%2Flipid_simulation_formalism.git diff --git a/Makefile b/Makefile index 7ca3bee..ad0190f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ #!/bin/make -all: kinetic_formalism.pdf +all: kinetic_formalism.pdf kinetic_formalism_competition.pdf R=R @@ -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