| 1 | SOURCE_DIR = $(CURDIR)/ |
| 2 | |
| 3 | RSYNC_PARAMS = --exclude-from='.rsync-exclude' --delete -avzP |
| 4 | |
| 5 | SSH_USER = abandali@bandali.eu.org |
| 6 | SSH_DEST = www/ |
| 7 | |
| 8 | all: deploy |
| 9 | |
| 10 | deploy: |
| 11 | rsync $(RSYNC_PARAMS) $(SOURCE_DIR) $(SSH_USER):$(SSH_DEST) |
| 12 | |
| 13 | .PHONY: deploy |