From ebaaca420b826c78865b2185dba867d80f3cb22f Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sat, 24 Oct 2009 15:55:25 +0000 Subject: numpy.scipy.org: add upload target to Makefile --- doc/numpy.scipy.org/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/numpy.scipy.org') diff --git a/doc/numpy.scipy.org/Makefile b/doc/numpy.scipy.org/Makefile index 93933ba25..4d73b08f1 100644 --- a/doc/numpy.scipy.org/Makefile +++ b/doc/numpy.scipy.org/Makefile @@ -15,6 +15,7 @@ ALLSPHINXOPTS = -d build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source help: @echo "Please use \`make ' where 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 @@ help: 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/numpy/ + html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) build/html @echo -- cgit v1.2.1