commit 1e44953621928120f5ee674c4582e33d6e625e62 parent 40f021b696c192f2f9bf61f027935e3dbd1c5573 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Wed, 10 Mar 2021 21:59:34 +0100 Fix intermittent build failure Diffstat:
| M | Makefile | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git 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)