.PHONY: clean clobber images
-git.pdf: git.tex preamble.fmt images
+git.pdf: git.tex preamble.fmt
$(TEX) $<
grep -q "rerunfilecheck Warning:.*$(basename $<).out" $(basename $<).log &&\
- $(TEX) $<
+ $(TEX) $< || true
preamble.fmt: preamble.tex vc.tex
$(TEX) -ini -jobname="$(basename $@)" "&$(TEX) $<\dump"
$(RM) -v $(addprefix *.,vrb eps aux fmt bbl blg dvi log out toc nav snm) vc.tex
clobber: clean
- $(RM) -v *.pdf 1.png
+ $(RM) -v *.pdf $(addsuffix .png,1 2)
\begin{frame}[fragile]
\begin{block}{{\Large\Smiley\Smiley} Linux}
Depending on the distribution you may have to do:\\
- \lstinline{# apt-get install git}\\
- \lstinline{# pacman -S git}\\
- \lstinline{# yum install git}\\
- \lstinline{# emerge --ask dev-vcs/git}\\
+ \texttt{\# apt-get install git}\\
+ \texttt{\# pacman -S git}\\
+ \texttt{\# yum install git}\\
+ \texttt{\# emerge --ask dev-vcs/git}\\
Etc\ldots
\end{block}
\subsection{Getting started}
\begin{frame}[fragile]
\frametitle{Getting started}
- \begin{block}{Check GIT version in (git) bash}
+ \begin{block}{Check GIT version in (GIT) bash}
\begin{lstlisting}
frobnicator@frobmachine:~\$ git --version
git version 1.7.10.4
\begin{frame}[fragile]
\frametitle{Add and commit}
\begin{lstlisting}
-frobnicator@frobmachine:~/projects/myfirstproject\$ echo "This is a frobfile" > frobbedfile
+frobnicator@frobmachine :~/projects/myfirstproject\$ echo "This is a frobfile" > frobbedfile
frobnicator@frobmachine:~/projects/myfirstproject\$ git status
On branch master
\end{frame}
\begin{frame}
- \frametitle{Push}
+ \frametitle{Log \& Checkout}
+ \begin{block}{\texttt{\$ git log}}
+
+ \end{block}
\end{frame}
\begin{frame}