mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-27 21:11:51 +02:00
20 lines
365 B
Makefile
20 lines
365 B
Makefile
.PHONY: all serve-www serve-gemini upload
|
|
|
|
all: gmid.1.html gmid.1.txt
|
|
|
|
gmid.1.html: ../gmid.1
|
|
./mdoc2html.sh $? $@
|
|
|
|
gmid.1.txt: ../gmid.1
|
|
MANWIDTH=72 man -Tutf8 -l $? | col -b > $@
|
|
|
|
serve-www:
|
|
python3 -m http.server 8888
|
|
|
|
serve-gemini:
|
|
../gmid -p 1966 .
|
|
|
|
upload:
|
|
rsync --delete -a . op:sites/gmid.omarpolo.com
|
|
rsync --delete -a . op:gemini/gmid.omarpolo.com
|