# 'make' builds the site into public/
all:
	siv build

# To publish: delete the @echo line, remove '#' from the rsync line,
# and change the server address. See: siv help publish
publish: all
	@echo "Nothing was published. Edit the Makefile to set up publishing. See: siv help publish"
#	rsync -a --chmod=D755,F644 --exclude=/.well-known/acme-challenge/ public/ tero@example.com:/home/tero/publicsite/

# Deletes only stale generated images from the server. Set up like publish.
cleanup:
	@echo "Nothing was deleted. Edit the Makefile to set up cleanup. See: siv help publish"
#	rsync -a --delete --chmod=D755,F644 --filter='R *.w*.h????????.*' --filter='P *' --itemize-changes public/ tero@example.com:/home/tero/publicsite/
