1 # sed -n 's/^ //p' $? > $@
3 .PHONY: all install publish
7 @echo " - install: install/replace the files in the system"
8 @echo " - publish: generate gemini and www version of the files"
9 @echo " - serve-gem: serve the gem directory"
10 @echo " - serve-www: serve the www directory"
11 @echo " - upload: publish the files on the geminispace and the web"
12 @echo " - clean: undo publish"
14 include Makefile.local
16 index.lp: README.md ${XXXFILES:=.lp}
18 printf "\n\n### Files\n\n" >> $@
19 for f in ${XXXFILES}; do printf "=> %s.EXT %s\n" "$$f" "$$f"; done>> $@
30 publish: gem ${GEMFILES} www ${WWWFILES}
36 python3 -m http.server --directory www 8888
39 rsync --delete -a gem/ op:gemini/dots.omarpolo.com
40 rsync --delete -a www/ op:sites/dots.omarpolo.com
43 rm -rf gem www index.lsp