summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-10 21:59:34 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-10 21:59:34 +0100
commit1e44953621928120f5ee674c4582e33d6e625e62 (patch)
tree3f76debb841ac63c7cda77158d751080e1f2e0f0
parent40f021b696c192f2f9bf61f027935e3dbd1c5573 (diff)
downloadquatuorbellefeuille.com-1e44953621928120f5ee674c4582e33d6e625e62.tar.xz
Fix intermittent build failure
-rw-r--r--Makefile6
1 files 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)