aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 62aa03a..c335802 100644
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,16 @@ REMOTE := root@rgoncalves.se
REMOTE_DIR := /var/www/htdocs/rgoncalves.se
OUTPUT_DIR := ./out
TEMPORARY_DIR := ./tmp
+BIN_DIR := ../ssg
+PATH := $(PATH):../ssg
.PHONY: all \
site \
clean
site: clean
- ./bin/ssg
- ./bin/rssg
+ $(BIN_DIR)/ssg
+ $(BIN_DIR)/rssg
preview: site
python3 -m http.server --directory $(OUTPUT_DIR) --bind 127.0.0.1
remember that computers suck.