]> git.donarmstrong.com Git - ool/lipid_simulation_formalism.git/blobdiff - Makefile
comment out analyzing output section
[ool/lipid_simulation_formalism.git] / Makefile
index 7ca3bee39cf75852384922e81cc2d019bb92f335..10fdd67ba1b0c76ffc9e682e4158582bda0e1985 100644 (file)
--- 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,10 +16,10 @@ 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
@@ -27,4 +27,4 @@ clean:
 
 .PHONY: clean all
 
-.DELETE_ON_ERROR: %.tex
\ No newline at end of file
+.DELETE_ON_ERROR: %.tex