From 228ae9c7a874c26eea8b2f37e088a0318ef6518c Mon Sep 17 00:00:00 2001 From: rscnt Date: Sat, 13 Jun 2015 20:05:57 -0600 Subject: [PATCH] Makefile: changed target and rsync command. Signed-off-by: rscnt --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d50a3aec..e24572b5 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ BASEDIR=$(CURDIR) SSH_HOST=dynamicweb-staging.ungleich.ch SSH_PORT=22 SSH_USER=app -SSH_TARGET_DIR=/home/$(SSH_USER)/django +SSH_TARGET_DIR=/home/$(SSH_USER)/app help: @echo 'Makefile for a dynamicweb website' @@ -18,7 +18,7 @@ collectstatic: $(PY?) $(BASEDIR)/manage.py collectstatic rsync_upload: - rsync -P -rvzc -e "ssh -p $(SSH_PORT)" --exclude dynamicweb/local/local_settings.py --exclude .git --exclude .ropeproject --exclude __pycache__ --exclude *.pyc --exclude *~ --exclude *.psd $(BASEDIR) $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude + rsync -P -rvzc -e "ssh -p $(SSH_PORT)" --exclude dynamicweb/local/local_settings.py --exclude .git --exclude .ropeproject --exclude __pycache__ --exclude *.pyc --exclude *~ --exclude *.psd $(BASEDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude install_debian_packages: apt-get update && cat $(BASEDIR)/requirements.debian.txt | xargs apt-get install -y --no-install-recommends