]> git.donarmstrong.com Git - ool/lipid_simulation_formalism.git/blob - Makefile
comment out analyzing output section
[ool/lipid_simulation_formalism.git] / Makefile
1 #!/bin/make
2
3 all: kinetic_formalism.pdf kinetic_formalism_competition.pdf
4
5 R=R
6
7 %.pdf: %.svg
8         inkscape -A $@ $<
9         pdfcrop $@
10         mv $(dir $@)*-crop.pdf $@
11
12 %.png: %.svg
13         inkscape -e $@ -d 300 $<
14
15 %.pdf: %.png
16         bmeps -lpdf -olevel=1.4 $< $@
17
18 %.tex: %.Rnw
19         $(R) --encoding=utf-8 -e "library('knitr'); knit('$<')"
20
21 %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
22         latexmk -pdf -pdflatex='xelatex -interaction=nonstopmode %O %S' -bibtex -use-make $<
23
24 clean: 
25         rubber -d --clean *.tex
26         rm -f *.tmp
27
28 .PHONY: clean all
29
30 .DELETE_ON_ERROR: %.tex