[Scipy-svn] r6202 - scipy.org/www

scipy-svn@scip... scipy-svn@scip...
Fri Jan 15 21:36:44 CST 2010


Author: jarrod.millman
Date: 2010-01-15 21:36:44 -0600 (Fri, 15 Jan 2010)
New Revision: 6202

Modified:
   scipy.org/www/Makefile
Log:
added upload to Makefile


Modified: scipy.org/www/Makefile
===================================================================
--- scipy.org/www/Makefile	2010-01-15 05:21:08 UTC (rev 6201)
+++ scipy.org/www/Makefile	2010-01-16 03:36:44 UTC (rev 6202)
@@ -15,6 +15,7 @@
 
 help:
 	@echo "Please use \`make <target>' where <target> is one of"
+	@echo "  upload USER=...  to upload to numpy.scipy.org"=
 	@echo "  html      to make standalone HTML files"
 	@echo "  dirhtml   to make HTML files named index.html in directories"
 	@echo "  pickle    to make pickle files"
@@ -31,6 +32,12 @@
 clean:
 	-rm -rf _build/*
 
+upload: html
+        chmod ug=rwX,o=rX -R _build/html
+        rsync -r -z --delete-after -p \
+            _build/html/ \
+            $(USER)@new.scipy.org:/srv/www/new/
+
 html:
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
 	@echo



More information about the Scipy-svn mailing list