List all machines in admin mode, even if you can't do anything
[invirt/packages/invirt-web.git] / code / Makefile
index 582293f..418289f 100644 (file)
@@ -1,6 +1,15 @@
 DIRS = templates
 
-all:
+all: kill chmod compile
+
+chmod:
+       chgrp -R invirt . 2>/dev/null || true
+       chmod -R g+w . 2>/dev/null || true
+
+kill:
+       wget http://xvm.mit.edu/kill.cgi -O /dev/null -nv
+
+compile:
        for dir in $(DIRS); do \
                (cd $$dir; $(MAKE) all); \
        done