diff options
author | Wolfgang Müller | 2019-07-21 21:46:09 +0200 |
---|---|---|
committer | Wolfgang Müller | 2019-07-22 13:02:56 +0200 |
commit | 01744f399a881836ebd223a69dffcc1c170962cc (patch) | |
tree | 37af26377be6fb9b2c01f7cde98e6251b717bbfb /Makefile | |
parent | 1a480b8203031f52c0d38c7d14c0dfb8d14fc87b (diff) | |
download | site-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 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |