From 361ab306fbc8beb1732e1059ed0c093a2a03fb67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Wed, 15 May 2024 12:51:14 +0200 Subject: refactor: move static site generator out of the repo --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3