X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e37dd15bbf8683bab8454ea0eec8e9968ce982b2..dfa7ab2f525e746b78fee0fa4bfe47ee38d27205:/code/Makefile?ds=sidebyside

diff --git a/code/Makefile b/code/Makefile
index aa083e2..c406438 100644
--- a/code/Makefile
+++ b/code/Makefile
@@ -1,13 +1,8 @@
-TEMPLATES=$(wildcard *.tmpl)
-OUTPUTS=$(TEMPLATES:.tmpl=.py)
+all: kill chmod
 
-all: ${OUTPUTS}
+chmod:
+	chgrp -R invirt . 2>/dev/null || true
+	chmod -R g+w . 2>/dev/null || true
 
-%.py: %.tmpl
-	cheetah compile $<
-
-#${OUTPUTS}:${TEMPLATES}
-#	cheetah compile $^
-
-clean:
-	@rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak
+kill:
+	-pkill main.fcgi