mirror of https://github.com/omar-polo/gmid.git
add targets to serve the site locally
This commit is contained in:
parent
ae6870fa3b
commit
12866f1911
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue