Browse Source

Better uploads

pull/262/head
Armin Ronacher 14 years ago
parent
commit
62e7f5cea6
  1. 6
      Makefile

6
Makefile

@ -26,9 +26,9 @@ upload-docs:
$(MAKE) -C docs html dirhtml latex $(MAKE) -C docs html dirhtml latex
$(MAKE) -C docs/_build/latex all-pdf $(MAKE) -C docs/_build/latex all-pdf
cd docs/_build/; mv html flask-docs; zip -r flask-docs.zip flask-docs; mv flask-docs html cd docs/_build/; mv html flask-docs; zip -r flask-docs.zip flask-docs; mv flask-docs html
scp -r docs/_build/dirhtml/* pocoo.org:/var/www/flask.pocoo.org/docs/ rsync -a docs/_build/dirhtml/ pocoo.org:/var/www/flask.pocoo.org/docs/
scp -r docs/_build/latex/Flask.pdf pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.pdf rsync -a docs/_build/latex/Flask.pdf pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.pdf
scp -r docs/_build/flask-docs.zip pocoo.org:/var/www/flask.pocoo.org/docs/ rsync -a docs/_build/flask-docs.zip pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.zip
docs: docs:
$(MAKE) -C docs html $(MAKE) -C docs html

Loading…
Cancel
Save