diff --git a/Makefile b/Makefile index 704b659..ebde46d 100644 --- a/Makefile +++ b/Makefile @@ -104,6 +104,7 @@ REMOTE_DIR ?= gallery upload: build @rsync --recursive --partial --progress --copy-links \ --compress --human-readable --hard-links --size-only \ + --delete --delete-after \ -e 'ssh -l $(REMOTE_USER) -i $(IDFILE)' \ $(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/