Makefile for upload and switch doc theme

This commit is contained in:
Benjamin Bertrand
2016-01-24 11:29:40 +03:00
parent 8f412c1a45
commit 08b841cbd9
2 changed files with 13 additions and 2 deletions

View File

@@ -190,3 +190,11 @@ pseudoxml:
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
@echo
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
SSH_CONF=kimsufi
SSH_TARGET_DIR=/var/www/opytex.org/opytex
rsync_upload: html
rsync -e "ssh" -P -rvzc --delete $(BUILDDIR)/html/ $(SSH_CONF):$(SSH_TARGET_DIR) --cvs-exclude