Update some comments in Makefile

This commit is contained in:
Daniel - 2018-08-19 17:57:34 +02:00
parent bf7b973acc
commit 8dcbb43ba4
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,9 @@ distclean: clean
# extracting all calls to \includedeck from them; it returns a list of elements
# like presentations/content/ccc/ccc_lokal.tex
# Yes, we are using perl: a system that has make probably also has perl; if not,
# blame me.
define presentation_dependencies
$(shell perl -ne '/includedeck\{(.*)\}/ && print "presentations/content/", $$1, ".tex "' $(1))
endef
@ -51,7 +54,7 @@ $(1): $(shell perl -ne '/includegraphics[^\{]*\{([^\}]*)\}/ && print "presentati
test -f $(1) && touch $(1)
endef
# Files contained in decks are only considered in the top-level directory
# Files contained in decks are only considered at top-level.
$(foreach deck, $(wildcard presentations/content/*/*.tex), \
$(eval $(call DECK_template, $(deck))))