MANDATORY-copy = DEPLOY_TYPE DEPLOY_HOSTS SSH_USER DEPLOY_PATH DEPLOY_NAME
# copy
#
# this just rsyncs the stuff to the remote server(s) and runs
# pre-/post-deploy and pre-/post-local

pull-copy:
	# nop
	
start-copy:
	@- echo "\n### start"
	@- $(foreach host,$(DEPLOY_HOSTS), \
		echo "$(host)"; \
		ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME); sh start.sh"; \
	)