]> git.donarmstrong.com Git - presentations/genome_diversity_oct_2016.git/blob - Makefile
fix simons typo
[presentations/genome_diversity_oct_2016.git] / Makefile
1 #!/usr/bin/make -f
2
3 all: simons_genome_diversity_oct_2016.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 %.tex: %.Rnw
16         $(R) --encoding=utf-8 -e "library('knitr'); knit('$<')"
17
18 simons_genome_diversity_oct_2016.pdf:                                                                   \
19 simons_genome_diversity_oct_2016.tex genome_diversity_paper figures
20
21 %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
22         latexmk -f -pdf -pdflatex='xelatex -shell-escape -8bit -interaction=nonstopmode %O %S' -bibtex -use-make $<
23
24