From 12866f1911ebefc40cf4f988cd59d620e8b50a96 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 4 Oct 2021 12:54:46 +0000 Subject: [PATCH] add targets to serve the site locally --- site/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/site/Makefile b/site/Makefile index 77c7b22..8d3abbc 100644 --- a/site/Makefile +++ b/site/Makefile @@ -1,4 +1,4 @@ -.PHONY: all +.PHONY: all serve-www serve-gemini all: gmid.1.html gmid.1.txt @@ -7,3 +7,9 @@ gmid.1.html: ../gmid.1 gmid.1.txt: ../gmid.1 MANWIDTH=72 man -Tutf8 -l $? | col -b > $@ + +serve-www: + python3 -m http.server 8888 + +serve-gemini: + gmid -p 1966 .