]> git.donarmstrong.com Git - debbugs-presentations.git/blob - Makefile
add fun queries
[debbugs-presentations.git] / Makefile
1 #!/usr/bin/make -f
2
3 all: debbugs_presentation.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 debbugs.Rnw
16         $(R) --encoding=utf-8 -e "library('knitr'); knit('$<')"
17
18 debbugs_presentation.pdf: debbugs_presentation.tex debbugs_layout.tex debbugs_layout_db.tex
19
20 %.pdf: %.tex $(wildcard *.bib) $(wildcard *.tex)
21         latexmk -f -pdf -pdflatex='xelatex -shell-escape -8bit -interaction=nonstopmode %O %S' -bibtex -use-make $<