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.
This commit is contained in:
Daniel - 2018-08-19 17:54:57 +02:00
부모 442b67ec6e
커밋 bf7b973acc
로그인 계정: dbo
GPG 키 ID: 4F63DB96D45AA9C6
5개의 변경된 파일11개의 추가작업 그리고 11개의 파일을 삭제

파일 보기

@ -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

파일 보기

@ -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

파일 보기

@ -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}

파일 보기

@ -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}

파일 보기

@ -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}