Blame


1 7b4d8efb 2022-02-04 op # sed -n 's/^ //p' $? > $@
2 7b4d8efb 2022-02-04 op
3 7b4d8efb 2022-02-04 op .PHONY: all install publish
4 7b4d8efb 2022-02-04 op
5 7b4d8efb 2022-02-04 op all:
6 7b4d8efb 2022-02-04 op @echo "usage:"
7 7b4d8efb 2022-02-04 op @echo " - install: install/replace the files in the system"
8 7b4d8efb 2022-02-04 op @echo " - publish: generate gemini and www version of the files"
9 7b4d8efb 2022-02-04 op @echo " - serve-gem: serve the gem directory"
10 7b4d8efb 2022-02-04 op @echo " - serve-www: serve the www directory"
11 7b4d8efb 2022-02-04 op @echo " - upload: publish the files on the geminispace and the web"
12 7b4d8efb 2022-02-04 op @echo " - clean: undo publish"
13 7b4d8efb 2022-02-04 op
14 7b4d8efb 2022-02-04 op include Makefile.local
15 7b4d8efb 2022-02-04 op
16 7ae2ef22 2022-02-04 op index.lp: README.md ${XXXFILES:=.lp}
17 7ae2ef22 2022-02-04 op cp README.md $@
18 e6ed7975 2022-02-04 op printf "\n\n### Files\n\n" >> $@
19 ae217031 2022-02-04 op for f in ${XXXFILES}; do printf "=> %s.EXT %s\n" "$$f" "$$f"; done>> $@
20 6b8ba66c 2022-02-04 op
21 7b4d8efb 2022-02-04 op install: ${DOTFILES}
22 7b4d8efb 2022-02-04 op
23 7b4d8efb 2022-02-04 op www: style.css
24 7b4d8efb 2022-02-04 op mkdir -p www
25 7b4d8efb 2022-02-04 op cp style.css www
26 7b4d8efb 2022-02-04 op
27 7b4d8efb 2022-02-04 op gem:
28 7b4d8efb 2022-02-04 op mkdir gem
29 7b4d8efb 2022-02-04 op
30 7b4d8efb 2022-02-04 op publish: gem ${GEMFILES} www ${WWWFILES}
31 7b4d8efb 2022-02-04 op
32 7b4d8efb 2022-02-04 op serve-gem: publish
33 7b4d8efb 2022-02-04 op gmid -p 1966 gem
34 7b4d8efb 2022-02-04 op
35 7b4d8efb 2022-02-04 op serve-www: publish
36 7b4d8efb 2022-02-04 op python3 -m http.server --directory www 8888
37 7b4d8efb 2022-02-04 op
38 7b4d8efb 2022-02-04 op upload:
39 0f1c84d9 2022-03-30 op openrsync --rsync-path=openrsync --del -a gem/ antartica:/var/gemini/dots.omarpolo.com
40 0f1c84d9 2022-03-30 op openrsync --rsync-path=openrsync --del -a www/ antartica:/var/www/dots.omarpolo.com
41 7b4d8efb 2022-02-04 op
42 7b4d8efb 2022-02-04 op clean:
43 6b8ba66c 2022-02-04 op rm -rf gem www index.lsp