about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2b83f82..e9c0c4a 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,10 @@ brotli := brotli --force
 gzip := gzip --best --keep --force
 zstd := zstd --force --no-pass-through -19 --quiet
 
-build: $(PREFIX)
+build: $(PREFIX)/index.html
 
-$(PREFIX):
-	zola build --output-dir $(PREFIX)
+$(PREFIX)/index.html: config.toml content/**.md static/** templates/** themes/**/*
+	zola build --force --output-dir $(PREFIX)
 
 format: $(PREFIX)
 	prettier --write --parser html --print-width 200 "$(PREFIX)/**/*.html"