Intro done
[ai-gitflashtalk.git] / Makefile
index 98cf2f8..845a6cf 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,18 @@
 SHELL:=/bin/bash
 
-git.pdf: git.tex preamble.fmt
+git.pdf: git.tex preamble.fmt 1.png
        pdflatex $< 
        pdflatex $< 
 
 preamble.fmt: preamble.tex vc.tex
        pdflatex -ini -jobname="$(basename $<)" "&pdflatex $<\dump"
 
+1.png:
+       wget -qO- http://www.androidworld.it/wp-content/uploads/2014/02/linus-torvalds-getty-final.jpg\
+               | convert -resize 10\% - $@
+
 vc.tex: .git/logs/HEAD
        git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > $@
 
 clean:
-       $(RM) -v *.{eps,aux,fmt,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex
+       $(RM) -v *.{png,eps,aux,fmt,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex