OUTPUT_DIR = . SSH_HOST = fahrplan.cosin.ch SSH_USER = webcosin TARGET_DIR = /srv/www/fahrplan.cosin.ch/fahrplan/ .PHONY: upload upload: rsync --rsh=ssh -P -rvzc --cvs-exclude --delete --exclude=Makefile $(OUTPUT_DIR)/ $(SSH_USER)@$(SSH_HOST):$(TARGET_DIR)