Feat: add mkdir for fakedir
This commit is contained in:
parent
c39ec433b5
commit
cecdf49355
5
Makefile
5
Makefile
@ -8,6 +8,8 @@ OUTPUTDIR=$(BASEDIR)/output
|
|||||||
CONFFILE=$(BASEDIR)/pelicanconf.py
|
CONFFILE=$(BASEDIR)/pelicanconf.py
|
||||||
PUBLISHCONF=$(BASEDIR)/publishconf.py
|
PUBLISHCONF=$(BASEDIR)/publishconf.py
|
||||||
|
|
||||||
|
FAKEDIR=../output/
|
||||||
|
|
||||||
SSH_HOST=Embrevade
|
SSH_HOST=Embrevade
|
||||||
SSH_PORT=22
|
SSH_PORT=22
|
||||||
SSH_USER=sshcontent
|
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
|
rsync -e "ssh" -P -rvzc --delete $(RSYNC_EXCLUDE) $(OUTPUTDIR)/ $(SSH_HOST):$(SSH_TARGET_DIR) --cvs-exclude
|
||||||
|
|
||||||
fake_upload: html
|
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
|
.PHONY: html help clean regenerate serve serve-global devserver publish ssh_upload rsync_upload
|
||||||
|
Loading…
Reference in New Issue
Block a user