summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae12892..d3bf70f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
-compile:
+compile: clean
hugo
+clean:
+ [ ! -d public ] || rm -r public/
+
dev:
hugo server -D