capsule/Makefile

17 lines
283 B
Makefile
Raw Normal View History

all: build capsule.tar upload
build:
zond build
capsule.tar:
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