summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorAlan Pearce2023-05-22 13:52:26 +0200
committerAlan Pearce2023-05-22 13:52:26 +0200
commit1837e57e6e9315782a4e03be209eb8c83348b3cd (patch)
tree27f94e4deb2be2c6d4aa6931f77d3abd3e9faed7 /Makefile
parent99675939680decde3b020246bfbf8c430e515d0f (diff)
downloadwebsite-1837e57e6e9315782a4e03be209eb8c83348b3cd.tar.lz
website-1837e57e6e9315782a4e03be209eb8c83348b3cd.tar.zst
website-1837e57e6e9315782a4e03be209eb8c83348b3cd.zip
Make `build` make target more obvious
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d1f81b3..b5ed0a6 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,9 @@ brotli := brotli --force
 gzip := gzip --best --keep --force
 zstd := zstd --force --no-pass-through -19 --quiet
 
-build:
+build: $(PREFIX)
+
+$(PREFIX):
 	zola build --output-dir $(PREFIX)
 
 clean: