]> git.donarmstrong.com Git - debbugs-presentations.git/commitdiff
add start of debconf14 presentation
authorDon Armstrong <don@donarmstrong.com>
Sat, 23 Aug 2014 16:04:12 +0000 (09:04 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 23 Aug 2014 16:04:12 +0000 (09:04 -0700)
debconf14/Makefile [new file with mode: 0644]

diff --git a/debconf14/Makefile b/debconf14/Makefile
new file mode 100644 (file)
index 0000000..b244505
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+all: debbugs_presentation.pdf
+
+R ?= R
+
+%.pdf: %.svg
+       inkscape -A $@ $<
+       pdfcrop $@
+       mv $(dir $@)*-crop.pdf $@
+
+%.png: %.svg
+       inkscape -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 $<