From 1e44953621928120f5ee674c4582e33d6e625e62 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Wed, 10 Mar 2021 21:59:34 +0100 Subject: Fix intermittent build failure --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3c8e8f8..8dc01e7 100644 --- a/Makefile +++ b/Makefile @@ -41,10 +41,12 @@ $(OUTDIR)/quatuor.html: quatuor.md $(OUTDIR)/programmes.html: programs.in # Rules for automatic, incremental folder creation. -# ⚠ Fail for intermediate folders which hold only subdirs. +# Our lists of target directories are created from the lists of leaf +# resources; some intermediate directories that only hold subdirs do +# not appear in these lists. Work around that with -p. $(OUTDIR) $(images_folders) $(stylesheets_folders): - mkdir $@ + mkdir -p $@ .SECONDEXPANSION: $(resources) $(images) $(stylesheets) $(pages) $(members_pages): | $$(@D) -- cgit v1.2.3