]> git.donarmstrong.com Git - diamond_presentation.git/blob - Makefile
add start of presentation and figure makefile
[diamond_presentation.git] / Makefile
1 #!/usr/bin/make -f
2
3
4 R ?= R
5 ROPTS=-q --no-save --no-restore-data
6
7 all: diamond_presentation_2015.pdf
8
9 %.pdf: %.svg
10         inkscape -D -A $@ $<
11
12 %.png: %.svg
13         inkscape -D -e $@ -d 300 $<
14
15 %.tex: %.Rnw
16         $(R) --encoding=utf-8 -e "library('knitr'); knit('$<')"
17
18 %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
19         latexmk -pdf -pdflatex='xelatex -interaction=nonstopmode %O %S' -bibtex -use-make $<
20
21 diamond_presentation_2015.tex: diamond_presentation_2015.Rnw
22
23