From 40725eaf2a3f0a947fdbc0db881b953dc02fdf39 Mon Sep 17 00:00:00 2001 From: Louis-Claude Canon Date: Mon, 24 Mar 2014 11:24:36 +0100 Subject: [PATCH] New deployment rule --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7c67d57..5b9baa8 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ all: www/programme.html ./parse.sh $< www/programme.html: www/programme.template ${CAT} ./build.sh -deploy: - scp -r www/* lccanon@lifc-home.univ-fcomte.fr:public_html/ +deploy: all + rsync --recursive --copy-links --times --perms --progress www/* \ + lccanon@lifc-home.univ-fcomte.fr:public_html/ clean: -rm ${CAT} data/*.theme data/csv.cat data/csv.theme data/theme.txt www/programme.html 2> /dev/null -- 1.7.10.4