From 2eafd4760f0ca579b8226df404625508a8514a61 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 30 Dec 2024 14:17:45 +0100 Subject: [PATCH] Makefile: fixup ALL_AGENDAS definitions Now that include files in agenda/ have a .tex extension, we need to filter them out when calculating ALL_AGENDAS. Signed-off-by: Thomas Petazzoni --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 95542435ce..e8476d5c63 100644 --- a/Makefile +++ b/Makefile @@ -319,7 +319,7 @@ ALL_TRAININGS = $(sort $(patsubst %.mk,%,$(notdir $(wildcard mk/*.mk)))) ALL_SLIDES = $(foreach p,$(ALL_TRAININGS),$(if $($(call UPPERCASE,$(p)_SLIDES)),full-$(p)-slides.pdf)) ALL_LABS = $(foreach p,$(ALL_TRAININGS),$(if $($(call UPPERCASE,$(p)_LABS)),full-$(p)-labs.pdf)) -ALL_AGENDAS = $(patsubst %.tex,%.pdf,$(notdir $(wildcard agenda/*.tex))) +ALL_AGENDAS = $(patsubst %.tex,%.pdf,$(filter-out %.inc.tex,$(notdir $(wildcard agenda/*.tex)))) ALL_LABS_TARBALLS = $(patsubst %,%-labs.tar.xz,$(filter-out common,$(notdir $(wildcard lab-data/*)))) all: $(ALL_SLIDES) $(ALL_LABS) $(ALL_AGENDAS) $(ALL_LABS_TARBALLS)