[bootlin/training-materials updates] master: Makefile: check for all labs slide to exists (9103e0af)
Clément Léger
clement.leger at bootlin.com
Mon May 23 10:48:07 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/9103e0af579c069c0d230403743b3cb2d7ffcd50
>---------------------------------------------------------------
commit 9103e0af579c069c0d230403743b3cb2d7ffcd50
Author: Clément Léger <clement.leger at bootlin.com>
Date: Mon May 23 10:42:09 2022 +0200
Makefile: check for all labs slide to exists
Commit 292167ee393 ("Makefile: check for all .tex files to exist") did
add a check for all slides to exists but this was not done for the
labs. add the same check.
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
9103e0af579c069c0d230403743b3cb2d7ffcd50
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 93c6ea9f..88e88f9a 100644
--- a/Makefile
+++ b/Makefile
@@ -185,6 +185,10 @@ LABS_TEX = \
$(LABS_FOOTER)
LABS_PICTURES = $(call PICTURES,$(foreach s,$(LABS_CHAPTERS),labs/$(s))) $(COMMON_PICTURES)
+
+# Check for all labs .tex file to exist
+$(foreach file,$(LABS_TEX),$(if $(wildcard $(file)),,$(error Missing file $(file) !)))
+
%-labs.pdf: common/labs.sty $(VARS) $(LABS_TEX) $(LABS_PICTURES) $(OUTDIR)/last-update.tex
@mkdir -p $(OUTDIR)
# We generate a .tex file with \input{} directives (instead of just
More information about the training-materials-updates
mailing list