repositories
/
ai-gitflashtalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initial skeleton
[ai-gitflashtalk.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
c17eb18
..
461a8af
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,18
+2,12
@@
SHELL:=/bin/bash
all: vc.tex git.pdf
all: vc.tex git.pdf
-%.pdf: %.dvi
- dvipdfm $<
-
-%.dvi: %.tex vc.tex
- latex $<
- latex $<
+git.pdf: git.tex vc.tex
+ pdflatex $<
+ pdflatex $<
vc.tex: .git/logs/HEAD
vc.tex: .git/logs/HEAD
- git log -1 --format="format:\
- \\gdef\\GITAbrHash{%h}\
- \\gdef\\GITAuthorDate{%ad}\
- \\gdef\\GITAuthorName{%an}" > vc.tex
+ git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > vc.tex
clean:
clean:
- $(RM) -v
*.{eps,aux,bbl,blg,dvi,log,out,toc}
+ $(RM) -v
git.{eps,aux,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex