From 7994149d79852571535d15f5ea7041ef76dd4b90 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 21 May 2022 10:29:34 +0200 Subject: Added first blog post + makefile change to support local openrsync --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b14b77f..06441fc 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +DEST="tronto.net:/var/www/htdocs/sebastiano.tronto.net" + all: clean ./build.sh @@ -6,7 +8,7 @@ clean: rm -r http deploy: all - rsync -rv --delete --rsync-path=openrsync \ - http/ tronto.net:/var/www/htdocs/sebastiano.tronto.net + rsync -rv --delete --rsync-path=openrsync http/ ${DEST} || \ + openrsync -rv --delete --rsync-path=openrsync http/ ${DEST} .PHONY: all clean deploy -- cgit v1.3