From 2269acccfb754c9c326c45b15aeabdecbca7b775 Mon Sep 17 00:00:00 2001
From: Manuel Traut <manut@linutronix.de>
Date: Wed, 18 May 2016 15:48:35 +0200
Subject: add autotools stuff from bene

Signed-off-by: Manuel Traut <manut@linutronix.de>
---
 distribution/autotools/autotools.tex | 208 +++++++++++++++++++++++++++++++++++
 1 file changed, 208 insertions(+)
 create mode 100644 distribution/autotools/autotools.tex

(limited to 'distribution/autotools/autotools.tex')

diff --git a/distribution/autotools/autotools.tex b/distribution/autotools/autotools.tex
new file mode 100644
index 0000000..68a6fe2
--- /dev/null
+++ b/distribution/autotools/autotools.tex
@@ -0,0 +1,208 @@
+\subsection{Standalone Application}
+\begin{frame}[fragile]
+  \lstinputlisting{standalone/hello-orig.c}
+\end{frame}
+
+\begin{frame}
+\frametitle{Minimalkonfiguration}
+\begin{itemize}
+\item README
+\item NEWS
+\item COPYING
+\item AUTHORS
+\item autogen.sh
+\item configure.ac
+\item Makefile.am
+\end{itemize}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{README}
+  \lstinputlisting[lastline=14]{standalone/README}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{README - (f.)}
+  \lstinputlisting[firstline=15]{standalone/README}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{NEWS}
+  (Neuigkeiten oder leere Datei)
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{COPYING}
+  \lstinputlisting[lastline=10]{standalone/COPYING}
+  \dots
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{AUTHORS}
+  \lstinputlisting{standalone/AUTHORS}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{autogen.sh}
+  \lstinputlisting{standalone/autogen.sh}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{configure.ac}
+  \lstinputlisting[lastline=12]{standalone/configure.ac}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{configure.ac (f.)}
+  \lstinputlisting[firstline=14, lastline=27]{standalone/configure.ac}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{configure.ac (f.)}
+  \lstinputlisting[firstline=28]{standalone/configure.ac}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{Makefile.am}
+  \lstinputlisting[language=make, lastline=5]{standalone/Makefile.am}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{Makefile.am (f.)}
+  \lstinputlisting[language=make, firstline=6]{standalone/Makefile.am}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{hello.c}
+  \lstinputlisting{standalone/hello.c}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{Erstellen der Applikation}
+  \begin{lstlisting}
+    # Erstellen der zu generierenden Dateien
+    ./autogen.sh
+    # Konfiguration der Applikation
+    ./configure
+    # Bauen der Applikation
+    make
+    # Testen der Quelltext-Distribution der Applikation
+    make distcheck
+    # Löschen aller generierten Dateien
+    make maintainer-clean
+  \end{lstlisting}
+\end{frame}
+
+\subsection{Libraries}
+\begin{frame}[fragile]
+  \lstinputlisting{library/hello.h}
+  \lstinputlisting{library/hello-orig.c}
+\end{frame}
+
+\begin{frame}
+\frametitle{Minimalkonfiguration}
+\begin{itemize}
+\item README
+\item NEWS
+\item COPYING
+\item AUTHORS
+\item autogen.sh
+\item libhello.pc.in
+\item libhello-uninstalled.pc.in
+\item configure.ac
+\item Makefile.am
+\end{itemize}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{README}
+  \lstinputlisting[lastline=14]{library/README}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{README - (f.)}
+  \lstinputlisting[firstline=15]{library/README}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{NEWS}
+  (Neuigkeiten oder leere Datei)
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{COPYING}
+  \lstinputlisting[lastline=10]{library/COPYING}
+  \dots
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{AUTHORS}
+  \lstinputlisting{library/AUTHORS}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{autogen.sh}
+  \lstinputlisting{library/autogen.sh}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{libhello.pc.in}
+  \lstinputlisting{library/libhello.pc.in}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{libhello-uninstalled.pc.in}
+  \lstinputlisting{library/libhello-uninstalled.pc.in}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{configure.ac}
+  \lstinputlisting[lastline=13]{library/configure.ac}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{configure.ac (f.)}
+  \lstinputlisting[firstline=14, lastline=27]{library/configure.ac}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{configure.ac (f.)}
+  \lstinputlisting[firstline=28]{library/configure.ac}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{Makefile.am}
+  \lstinputlisting[language=make, lastline=10]{library/Makefile.am}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{Makefile.am (f.)}
+  \lstinputlisting[language=make, firstline=11, lastline=22]{library/Makefile.am}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{Makefile.am (f.)}
+  \lstinputlisting[language=make, firstline=23]{library/Makefile.am}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{hello.c}
+  \lstinputlisting{library/hello.c}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{Erstellen der Bibliothek}
+  \begin{lstlisting}
+    # Erstellen der zu generierenden Dateien
+    ./autogen.sh
+    # Konfiguration der Bibliothek
+    ./configure
+    # Bauen der Bibliothek
+    make
+    # Testen der Quelltext-Distribution der Bibliothek
+    make distcheck
+    # Löschen aller generierten Dateien
+    make maintainer-clean
+  \end{lstlisting}
+\end{frame}
+
-- 
cgit v1.2.3

