repositories
/
ai-gitflashtalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update with preamble
[ai-gitflashtalk.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
461a8af
..
98cf2f8
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,14
@@
SHELL:=/bin/bash
SHELL:=/bin/bash
-all: vc.tex git.pdf
-
-git.pdf: git.tex vc.tex
+git.pdf: git.tex preamble.fmt
+ pdflatex $<
pdflatex $<
pdflatex $<
- pdflatex $<
+
+preamble.fmt: preamble.tex vc.tex
+ pdflatex -ini -jobname="$(basename $<)" "&pdflatex $<\dump"
vc.tex: .git/logs/HEAD
vc.tex: .git/logs/HEAD
- git log -1 --format="format:\\gdef\\GITAbrHash{%H}" >
vc.tex
+ git log -1 --format="format:\\gdef\\GITAbrHash{%H}" >
$@
clean:
clean:
- $(RM) -v
git.{eps,aux
,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex
+ $(RM) -v
*.{eps,aux,fmt
,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex