From: Armin Ronacher Date: Sun, 17 Oct 2010 14:37:22 +0000 (+0200) Subject: Added upload command for docs X-Git-Tag: 2.6~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e5babe89ddec519bc77bb176d71f18e7da372530;p=jinja2.git Added upload command for docs --- 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