for uploading
Scott Baker [Fri, 20 Mar 2015 18:20:34 +0000 (11:20 -0700)]
opencloud-net/Makefile

index 1d519b0..e79ad99 100644 (file)
@@ -1,5 +1,7 @@
 BUILDDIR=build/opencloud-net-1.0
 
+UPLOAD_HOST=node3.cs.arizona.edu
+
 opencloud-net-plugin:
        # it's python. There's nothing to build
        # use 'make deb' to make the debian package
@@ -25,3 +27,7 @@ deb:
        cp debian/source/format $(BUILDDIR)/debian/source/
        cd $(BUILDDIR); debuild -i -us -uc -A
 
+upload:
+       scp opencloud-net.py root@$(UPLOAD_HOST):/usr/local/sbin/
+       scp opencloud-net-watcher.py root@$(UPLOAD_HOST):/usr/local/sbin/
+       scp opencloud-net.init root@$(UPLOAD_HOST):/etc/init.d/opencloud-net