summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 253d565..7f918e3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,14 @@
.PHONY: all
-all: clean
- @echo "Building project..."
+all: clean linklog build
+
+.PHONY: linklog
+linklog:
./update-linklog-json.sh
+.PHONY: build
+build: clean
+ @echo "Building project..."
+
# Build html
ln -s templates_html templates
zola build -o public_html
@@ -20,7 +26,6 @@ all: clean
.PHONY: dev
dev:
@echo "Starting development server..."
- ./update-linklog-json.sh
ln -s templates_html templates
zola serve --drafts