diff options
author | Pauli Virtanen <pav@iki.fi> | 2009-10-24 15:55:25 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2009-10-24 15:55:25 +0000 |
commit | ebaaca420b826c78865b2185dba867d80f3cb22f (patch) | |
tree | 6e31bbbd653371d9780b8ddf495730f834ca640c /doc/numpy.scipy.org | |
parent | cdd23ab0073fb899db34d4d66f3e4b184a82c466 (diff) | |
download | numpy-ebaaca420b826c78865b2185dba867d80f3cb22f.tar.gz |
numpy.scipy.org: add upload target to Makefile
Diffstat (limited to 'doc/numpy.scipy.org')
-rw-r--r-- | doc/numpy.scipy.org/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
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 <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 @@ 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 |