mirror of https://github.com/c3d2/slidenado/
A dummy rule for all tex files in the decks
Rationale: we can later add image dependencies here.
This commit is contained in:
parent
50725deb15
commit
442b67ec6e
15
Makefile
15
Makefile
|
@ -40,3 +40,18 @@ endef
|
||||||
|
|
||||||
$(foreach presentation, $(PRESENTATIONS), \
|
$(foreach presentation, $(PRESENTATIONS), \
|
||||||
$(eval $(call PRESENTATION_template, $(presentation))))
|
$(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))))
|
||||||
|
|
Loading…
Reference in New Issue