From e5babe89ddec519bc77bb176d71f18e7da372530 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 17 Oct 2010 16:37:22 +0200 Subject: [PATCH] Added upload command for docs --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 68b2199..5cccbcc 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ test: python setup.py test -website: - $(MAKE) -C docs dirhtml SPHINXOPTS=-Awebsite=1 +upload-docs: + $(MAKE) -C docs html dirhtml + cd docs/_build/; mv html jinja-docs; zip -r jinja-docs.zip jinja-docs; mv jinja-docs html + scp -r docs/_build/dirhtml/* pocoo.org:/var/www/jinja.pocoo.org/ + scp -r docs/_build/jinja-docs.zip pocoo.org:/var/www/jinja.pocoo.org/ .PHONY: test -- 2.26.2