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
- 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:
- $(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
\documentclass{beamer}
+\usepackage{hyperref}
+
\input{vc.tex}
\author{Mart Lubbers}
-\title{Git flashtalk}
+\title{
+ Git flashtalk\\
+}
\date{\today}
\begin{document}
\begin{frame}
\maketitle
- \let\thefootnote\relax
- \footnotetext{Git \GITAbrHash, \GITAuthorDate, \GITAuthorName.}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Author}
+ \begin{itemize}
+ \item Mart Lubbers
+ \item 4th year bachelor AI
+ \item \url{https://github.com/dopefishh/gitflashtalk}
+ \item Sha of this version: {\tiny\GITAbrHash}
+ \end{itemize}
\end{frame}
\end{document}