Mount app on / regardless of whether it's fastcgi
[invirt/packages/invirt-web.git] / code / Makefile
index 582293f..b114e86 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:
+       -pkill main.fcgi
+
+compile:
        for dir in $(DIRS); do \
                (cd $$dir; $(MAKE) all); \
        done