Permalink
Browse files

Added upload command for docs

  • Loading branch information...
1 parent d6a2003 commit e5babe89ddec519bc77bb176d71f18e7da372530 @mitsuhiko mitsuhiko committed Oct 17, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 Makefile
View
@@ -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

0 comments on commit e5babe8

Please sign in to comment.