Browse Source

Depend on image files in Makefile

For this to work, all images included in tex files must be given with their file
suffix.  For this reason, I also had to update some of these text files.
pull/6/head
Daniel Borchmann 4 years ago
parent
commit
bf7b973acc
Signed by untrusted user who does not match committer: dbo
GPG Key ID: 4F63DB96D45AA9C6
  1. 10
      Makefile
  2. 2
      presentations/content/alternate/alternate.tex
  3. 2
      presentations/content/geraetesicherheit/foss_programme_apps.tex
  4. 2
      presentations/content/geraetesicherheit/unerwuenschte_funktionalitaet.tex
  5. 6
      presentations/content/motivation/freesoftware.tex

10
Makefile

@ -42,13 +42,13 @@ $(foreach presentation, $(PRESENTATIONS), \
$(eval $(call PRESENTATION_template, $(presentation))))
# This template is called with a single argument like
# ‘presentations/content/ccc/ccc_bundesweit.tex’; it generates a rule that does
# nothing so far. In the future, it could depende on all images used by the tex
# file.
# ‘presentations/content/ccc/ccc_bundesweit.tex’; it generates a rule that
# dependes on all images used by the tex file. The actual recipe just checks
# whether the tex file is existent and updates the timestamp.
define DECK_template
$(1):
:
$(1): $(shell perl -ne '/includegraphics[^\{]*\{([^\}]*)\}/ && print "presentations/", $$1, " "' $(1))
test -f $(1) && touch $(1)
endef
# Files contained in decks are only considered in the top-level directory

2
presentations/content/alternate/alternate.tex

@ -94,7 +94,7 @@ Plattformübergreifende Synchronisierung von Dateien, Dokumenten, Kalendern, Kon
\includegraphics{img/fdroid.png}
\column{5cm}
\begin{center}
\includegraphics[width=2cm]{img/F-Droid_Logo_2}
\includegraphics[width=2cm]{img/F-Droid_Logo_2.pdf}
\par\end{center}
\begin{center}
\par

2
presentations/content/geraetesicherheit/foss_programme_apps.tex

@ -39,7 +39,7 @@
\column{5cm}
\begin{center}
\includegraphics[width=2cm]{img/F-Droid_Logo_2}
\includegraphics[width=2cm]{img/F-Droid_Logo_2.pdf}
\par\end{center}
\begin{center}
\par\end{center}

2
presentations/content/geraetesicherheit/unerwuenschte_funktionalitaet.tex

@ -10,7 +10,7 @@
\begin{frame}
\frametitle{Unerwünschte Funktionalität}
\begin{center}
\includegraphics[width=7cm]{img/backdoor-apps}
\includegraphics[width=7cm]{img/backdoor-apps.png}
\par\end{center}
\end{frame}

6
presentations/content/motivation/freesoftware.tex

@ -31,11 +31,11 @@
\column{7cm}
\begin{center}
\includegraphics[width=4.5cm]{img/stallman}
\includegraphics[width=4.5cm]{img/stallman.jpg}
\par\end{center}
\begin{center}
\includegraphics[width=5cm]{img/logo-fsf}
\includegraphics[width=5cm]{img/logo-fsf.pdf}
\par\end{center}
\end{columns}
\end{frame}
@ -79,7 +79,7 @@
\column{5cm}
\begin{center}
\includegraphics[width=2cm]{img/F-Droid_Logo_2}
\includegraphics[width=2cm]{img/F-Droid_Logo_2.pdf}
\par\end{center}
\begin{center}
\par\end{center}

Loading…
Cancel
Save