Makefile for uploading and stuff
authorArmin Ronacher <armin.ronacher@active-4.com>
Mon, 24 Jan 2011 01:04:48 +0000 (02:04 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Mon, 24 Jan 2011 01:04:48 +0000 (02:04 +0100)
Makefile

index 5cccbccb2ba2ecdc9eee4054e285c0a53ff66d57..29a6b71ac928fd779b14207fd56290c962b12cb2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,11 @@ test:
        python setup.py test
 
 upload-docs:
-       $(MAKE) -C docs html dirhtml
+       $(MAKE) -C docs html dirhtml latex
+       #$(MAKE) -C docs/_build/latex all-pdf
        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/
+       scp -r docs/_build/dirhtml/* pocoo.org:/var/www/jinja.pocoo.org/docs/
+       #scp -r docs/_build/latex/Jinja.pdf pocoo.org:/var/www/jinja.pocoo.org/docs/jinja-docs.pdf
+       scp -r docs/_build/jinja-docs.zip pocoo.org:/var/www/jinja.pocoo.org/docs/
 
 .PHONY: test