From 01744f399a881836ebd223a69dffcc1c170962cc Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 21 Jul 2019 21:46:09 +0200 Subject: Makefile: Add -R/--relative to rsync invocation We can save on an extra rsync call by adding --relative, which will create any implied directories for us on the target. Specifically, this is needed to create the posts/ directory in POSTS_HTML. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f16a071..1a3d733 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,6 @@ clean: rm -f posts/*.html index.html atom.xml style.css man.css deploy: - rsync -avhP fonts index.html style.css man.css logo.svg atom.xml coleridge:www/oriole.systems/ - rsync -avhP posts/*.html coleridge:www/oriole.systems/posts/ + rsync -avhRP $(POSTS_HTML) fonts index.html style.css man.css logo.svg atom.xml coleridge:www/oriole.systems/ .PHONY: clean deploy site -- cgit v1.2.3-2-gb3c3