From b3ca843ab8e6e36bf8303a336ddbb05d2abb6ea9 Mon Sep 17 00:00:00 2001 From: putro Date: Tue, 30 Apr 2019 13:48:06 +0200 Subject: [PATCH] fixed Makefile make production to remove old content --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7dd440d..0cfebae 100644 --- a/Makefile +++ b/Makefile @@ -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