use rsync instead of scp to upload website
authorRyan Dahl <ry@tinyclouds.org>
Thu, 15 Dec 2011 20:50:48 +0000 (12:50 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 15 Dec 2011 20:51:11 +0000 (12:51 -0800)
Makefile

index 53a0471..fa62089 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -120,7 +120,7 @@ out/doc/api/%.html: doc/api/%.markdown out/Release/node $(apidoc_dirs) $(apiasse
 out/doc/%:
 
 website-upload: doc
-       scp -r out/doc/* $(web_root)
+       rsync -r out/doc/ node@nodejs.org:~/web/nodejs.org/
 
 docopen: out/doc/api/all.html
        -google-chrome out/doc/api/all.html