From a2c1d7586c7cf4c8b49926d2a84c076c1990cbb0 Mon Sep 17 00:00:00 2001 From: Rafael Laboissiere Date: Wed, 11 Nov 2015 14:19:58 -0200 Subject: Use rsync for trasfering files --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1aec85a..e16a88b 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ WWWDIR = /var/www/praat WWWHOST = praat.cefala.org APACHEDIR = /etc/apache2/sites-available BUILD = www/$(INDEX) apache/praat.conf -REPODATA = repo/db repo/dists repop/pool +REPODATA = repo/db repo/dists repo/pool REPOHOST = www.cefala.org USER = rlaboiss @@ -26,4 +26,4 @@ clean: .PHONY: install-repo install-repo: - scp -r r$(REPODATA) '$(USER)@$(REPOHOST):$(WWWDIR)' + rsync --del -avz $(REPODATA) '$(USER)@$(REPOHOST):$(WWWDIR)' -- cgit v1.2.3