]> git.donarmstrong.com Git - mash_minhash_presentation.git/blob - Makefile
add changes to presentation
[mash_minhash_presentation.git] / Makefile
1 #!/usr/bin/make -f
2
3 all: hpcbio_mash_minhash_jun_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 hpcbio_mash_minhash_jun_2016.pdf: hpcbio_mash_minhash_jun_2016.tex mash_minhash_paper figures
19
20 %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
21         latexmk -pdf -pdflatex='xelatex -interaction=nonstopmode %O %S' -bibtex -use-make $<
22