18 lines
393 B
Makefile
18 lines
393 B
Makefile
submit_url = gemini://warmedal.se/~antenna/submit?gemini%3A%2F%2Fgemini.hitchhiker-linux.org%2Fgemlog%2Fatom.xml
|
|
|
|
all: build upload publish
|
|
|
|
build:
|
|
zond build
|
|
|
|
upload: build
|
|
scp -r public/* gimli:/srv/gemini
|
|
|
|
publish:
|
|
echo "$(submit_url)" | eval openssl s_client -connect warmedal.se:1965 -crlf \
|
|
-ign_eof -quiet
|
|
|
|
clean:
|
|
rm -rf capsule.tar public
|
|
|
|
.PHONY: all build clean upload publish
|