aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Laboissiere <rafael@laboissiere.net>2015-11-11 14:19:58 -0200
committerRafael Laboissiere <rafael@laboissiere.net>2015-11-11 14:19:58 -0200
commita2c1d7586c7cf4c8b49926d2a84c076c1990cbb0 (patch)
tree22d336e02f1a4160639c108f42cdd94e97d5c243
parent7f1002b95bef5e8c7dfbb31d29a4046287dc14ae (diff)
Use rsync for trasfering files
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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)'