summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2019-07-21 21:46:09 +0200
committerWolfgang Müller2019-07-22 13:02:56 +0200
commit01744f399a881836ebd223a69dffcc1c170962cc (patch)
tree37af26377be6fb9b2c01f7cde98e6251b717bbfb
parent1a480b8203031f52c0d38c7d14c0dfb8d14fc87b (diff)
downloadsite-01744f399a881836ebd223a69dffcc1c170962cc.tar.gz
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.
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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