summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStuart Bishop <stuart@stuartbishop.net>2013-10-01 15:51:55 +0000
committerStuart Bishop <stuart@stuartbishop.net>2013-10-01 15:51:55 +0000
commitce9e447b419de40105791f843d3238036ccc3dd1 (patch)
tree5170f264cd9090757a42b02b4180caa738d8949d /Makefile
parent01f456ce395cc445f8ce8616caee4883ad5bc292 (diff)
downloadpytz-ce9e447b419de40105791f843d3238036ccc3dd1.tar.gz
Use pythonhosted.org
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dd90b4e..33c6fc6 100644
--- a/Makefile
+++ b/Makefile
@@ -105,10 +105,17 @@ docs: dist
chmod -R og-w build/docs/built
chmod -R a+rX build/docs/built
-upload_docs: docs
+upload_docs: upload_docs_pythonhosted upload_docs_sf
+ @echo Uploaded
+
+upload_docs_sf: docs
rsync -e ssh -ravP build/docs/built/ \
web.sourceforge.net:/home/project-web/pytz/htdocs/
+upload_docs_pythonhosted: docs
+ cd build/dist \
+ && ${PYTHON} setup.py upload_docs --upload-dir=../docs/built
+
.stamp-tzinfo: .stamp-zoneinfo gen_tzinfo.py build/etc/zoneinfo/GMT
${PYTHON} gen_tzinfo.py ${TARGET}
rm -rf build/dist/pytz/zoneinfo