From cecdf4935587cae00c9f1ea20808952ba28ba2b2 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 23 Jun 2020 10:57:19 +0200 Subject: [PATCH] Feat: add mkdir for fakedir --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8be63a0..a3f5929 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,8 @@ OUTPUTDIR=$(BASEDIR)/output CONFFILE=$(BASEDIR)/pelicanconf.py PUBLISHCONF=$(BASEDIR)/publishconf.py +FAKEDIR=../output/ + SSH_HOST=Embrevade SSH_PORT=22 SSH_USER=sshcontent @@ -87,6 +89,7 @@ rsync_upload: publish rsync -e "ssh" -P -rvzc --delete $(RSYNC_EXCLUDE) $(OUTPUTDIR)/ $(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude fake_upload: html - rsync -P -rvzc --delete $(RSYNC_EXCLUDE) $(OUTPUTDIR)/ ../output/ --cvs-exclude + mkdir -p $(FAKEDIR) + rsync -P -rvzc --delete $(RSYNC_EXCLUDE) $(OUTPUTDIR)/ $(FAKEDIR) --cvs-exclude .PHONY: html help clean regenerate serve serve-global devserver publish ssh_upload rsync_upload