SHELL:=/bin/bash
-all: vc.tex git.pdf
-
-git.pdf: git.tex vc.tex
+git.pdf: git.tex preamble.fmt
+ pdflatex $<
pdflatex $<
- pdflatex $<
+
+preamble.fmt: preamble.tex vc.tex
+ pdflatex -ini -jobname="$(basename $<)" "&pdflatex $<\dump"
vc.tex: .git/logs/HEAD
- git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > vc.tex
+ git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > $@
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
--- /dev/null
+\documentclass{beamer}
+
+\usepackage{hyperref}
+
+\input{vc.tex}
+
+\title[GIT] {Git flashtalk}
+\subtitle{A short introduction to GIT}
+\author[Lubbers] % (optional, for multiple authors)
+{M.~Lubbers\inst{1}}
+\institute[Radboud University] % (optional)
+{
+ \inst{1}%
+ Artificial Intelligence\\
+ Radboud University Nijmegen
+}
+\date[2015]{\today}
+\subject{Git}
+
+\AtBeginSection[]
+{
+ \begin{frame}
+ \frametitle{Table of Contents}
+ \tableofcontents[currentsection]
+ \end{frame}
+}