capsule/Makefile

17 lines
300 B
Makefile
Raw Normal View History

all: build capsule.tar upload
build:
zond build
2022-07-10 08:41:34 -04:00
capsule.tar: public/index.gmi
2022-06-16 23:07:56 -04:00
cd public && tar cf ../capsule.tar *
upload: capsule.tar
scp capsule.tar gimli:/home/nathan/capsule.tar
2022-06-16 23:07:56 -04:00
ssh gimli tar xf capsule.tar -C /srv/gemini
2022-06-16 23:07:56 -04:00
clean:
rm -rf capsule.tar public
.PHONY: all build clean upload