Update with preamble
[ai-gitflashtalk.git] / Makefile
1 SHELL:=/bin/bash
2
3 git.pdf: git.tex preamble.fmt
4 pdflatex $<
5 pdflatex $<
6
7 preamble.fmt: preamble.tex vc.tex
8 pdflatex -ini -jobname="$(basename $<)" "&pdflatex $<\dump"
9
10 vc.tex: .git/logs/HEAD
11 git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > $@
12
13 clean:
14 $(RM) -v *.{eps,aux,fmt,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex