Intro done
[ai-gitflashtalk.git] / Makefile
1 SHELL:=/bin/bash
2
3 git.pdf: git.tex preamble.fmt 1.png
4 pdflatex $<
5 pdflatex $<
6
7 preamble.fmt: preamble.tex vc.tex
8 pdflatex -ini -jobname="$(basename $<)" "&pdflatex $<\dump"
9
10 1.png:
11 wget -qO- http://www.androidworld.it/wp-content/uploads/2014/02/linus-torvalds-getty-final.jpg\
12 | convert -resize 10\% - $@
13
14 vc.tex: .git/logs/HEAD
15 git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > $@
16
17 clean:
18 $(RM) -v *.{png,eps,aux,fmt,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex