Added upload command for docs
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 17 Oct 2010 14:37:22 +0000 (16:37 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 17 Oct 2010 14:37:22 +0000 (16:37 +0200)
Makefile

index 68b2199c731b170411dd691c1ff53b31a3ca1edc..5cccbccb2ba2ecdc9eee4054e285c0a53ff66d57 100644 (file)
--- 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