From a3fe06ee5f169dc7ade0b17607abf03d749f7e4f Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Mon, 8 May 2023 09:50:14 +0200 Subject: [PATCH] =?UTF-8?q?build:=20erzeuge=20Build-Verzeichnis=20f=C3=BCr?= =?UTF-8?q?=20Stamp-Dateien?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 2be8117..ea38408 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ help: build: $(BUILD_STAMP_HUGO) $(BUILD_STAMP_HUGO): $(BUILD_DEPS) $(BUILD_STAMP_THEME) Makefile + @mkdir -p "$(dir $@)" @HUGO_ENV=production hugo $(HUGO_OPTS) @touch "$@" @@ -30,6 +31,7 @@ $(BUILD_STAMP_HUGO): $(BUILD_DEPS) $(BUILD_STAMP_THEME) Makefile build-theme: $(BUILD_STAMP_THEME) $(BUILD_STAMP_THEME): + @mkdir -p "$(dir $@)" cd "$(THEME_DIR)" \ && npm install \ && npm run build