SOURCE_DIR = $(CURDIR)/ RSYNC_PARAMS = --exclude-from='.rsync-exclude' --delete -avzP SSH_USER = abandali@bandali.eu.org SSH_DEST = www/ all: deploy deploy: rsync $(RSYNC_PARAMS) $(SOURCE_DIR) $(SSH_USER):$(SSH_DEST) .PHONY: deploy