diff options
author | Omar Polo <op@omarpolo.com> | 2021-10-04 12:54:46 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-10-04 12:54:46 +0000 |
commit | 12866f1911ebefc40cf4f988cd59d620e8b50a96 (patch) | |
tree | 5bb9a776dd4730bdfb5bc5c137d29489dfad377a /site | |
parent | ae6870fa3bf25561a3f6bd8465ba86307af5d5bb (diff) |
add targets to serve the site locally
Diffstat (limited to 'site')
-rw-r--r-- | site/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 . |