add targets to serve the site locally

This commit is contained in:
Omar Polo 2021-10-04 12:54:46 +00:00
parent ae6870fa3b
commit 12866f1911
1 changed files with 7 additions and 1 deletions

View File

@ -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 .