diff options
| author | Manuel Traut <manut@linutronix.de> | 2016-05-18 15:48:35 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@linutronix.de> | 2016-05-18 15:48:35 +0200 |
| commit | 2269acccfb754c9c326c45b15aeabdecbca7b775 (patch) | |
| tree | 4f5fce7895126613c037e6d6e127dbea28848f21 /distribution/autotools | |
| parent | c64c0e81c354a2795503aae3bc6352dc0a63d15a (diff) | |
add autotools stuff from bene
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'distribution/autotools')
| -rw-r--r-- | distribution/autotools/autotools.tex | 208 |
1 files changed, 208 insertions, 0 deletions
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} + |
