2022-07-13 12:07:49 -04:00
|
|
|
submit_url = gemini://warmedal.se/~antenna/submit?gemini%3A%2F%2Fgemini.hitchhiker-linux.org%2Fgemlog%2Fatom.xml
|
|
|
|
|
2022-07-18 08:46:34 -04:00
|
|
|
all: build upload publish
|
2022-06-07 17:28:06 -04:00
|
|
|
|
|
|
|
build:
|
|
|
|
zond build
|
|
|
|
|
2022-07-18 08:46:34 -04:00
|
|
|
upload: build
|
2022-09-07 15:16:56 -04:00
|
|
|
scp -r public/* hitchhiker-linux.org:/srv/gemini
|
2022-06-07 17:28:06 -04:00
|
|
|
|
2022-07-13 12:07:49 -04:00
|
|
|
publish:
|
|
|
|
echo "$(submit_url)" | eval openssl s_client -connect warmedal.se:1965 -crlf \
|
|
|
|
-ign_eof -quiet
|
|
|
|
|
2022-06-16 23:07:56 -04:00
|
|
|
clean:
|
|
|
|
rm -rf capsule.tar public
|
|
|
|
|
2022-07-13 12:07:49 -04:00
|
|
|
.PHONY: all build clean upload publish
|