]> git.donarmstrong.com Git - ool/lipid_simulation_formalism.git/blob - Makefile
tweak length and complex formation formalisms
[ool/lipid_simulation_formalism.git] / Makefile
1 #!/bin/make
2
3 all: kinetic_formalism.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) CMD Sweave $<
20
21 %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
22         rubber -fd $<
23
24 clean: 
25         rubber -d --clean *.tex
26         rm -f *.tmp
27
28 .PHONY: clean all
29
30 .DELETE_ON_ERROR: %.tex