X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=9f83a840208485127d505d06c56b060aa4eb9f34;hb=154af5770db38ebf5eb4573dbc681a0093c533b2;hp=0000000000000000000000000000000000000000;hpb=e80580ee61ae916cdaf93a5c479c34160eb3e43b;p=diamond_presentation.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9f83a84 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + + +R ?= R +ROPTS=-q --no-save --no-restore-data + +all: diamond_presentation_2015.pdf + +%.pdf: %.svg + inkscape -D -A $@ $< + +%.png: %.svg + inkscape -D -e $@ -d 300 $< + +%.tex: %.Rnw + $(R) --encoding=utf-8 -e "library('knitr'); knit('$<')" + +%.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex) + latexmk -pdf -pdflatex='xelatex -interaction=nonstopmode %O %S' -bibtex -use-make $< + +diamond_presentation_2015.tex: diamond_presentation_2015.Rnw + +