fixed Makefile make production to remove old content

This commit is contained in:
putro 2019-04-30 13:48:06 +02:00
parent 449050bcee
commit b3ca843ab8

View File

@ -86,7 +86,7 @@ HOST=$(shell hostname)
production: publish
ifeq ($(HOST),zaphoda)
cp -R $(OUTPUTDIR)/* $(SSH_TARGET_DIR)/
rsync --update --delete -avz $(OUTPUTDIR)/ $(SSH_TARGET_DIR)
else
@echo "devi essere su zaphoda per lanciare questo comando"
endif