From 442b67ec6e8c1ae065ac55f50a786e0920aed82f Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 19 Aug 2018 17:41:29 +0200 Subject: [PATCH] A dummy rule for all tex files in the decks Rationale: we can later add image dependencies here. --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Makefile b/Makefile index 93bffa7..e249ef2 100644 --- a/Makefile +++ b/Makefile @@ -40,3 +40,18 @@ endef $(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. + +define DECK_template +$(1): + : +endef + +# Files contained in decks are only considered in the top-level directory + +$(foreach deck, $(wildcard presentations/content/*/*.tex), \ + $(eval $(call DECK_template, $(deck))))