Browse Source

Added Makefile target: upload_docs (Build & Upload documentation to Github and PyPI)

Ask Solem 15 years ago
parent
commit
fa4c2c9db5
1 changed files with 8 additions and 0 deletions
  1. 8 0
      Makefile

+ 8 - 0
Makefile

@@ -8,8 +8,16 @@ cycomplex:
 	find celery -type f -name "*.py" | xargs pygenie.py complexity
 
 ghdocs:
+	rm -rf docs/.build
 	contrib/doc2ghpages
 
+upload_github_docs: ghdocs
+
+upload_pypi_docs:
+	python setup.py build_sphinx && python setup.py upload_sphinx
+
+upload_docs: upload_github_docs upload_pypi_docs
+
 autodoc:
 	contrib/doc4allmods celery