Adjust the Makefile shipped with the website to kill invirt.fcgi,
[invirt/packages/invirt-web.git] / code / Makefile
index aa083e2..5b6a005 100644 (file)
@@ -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 invirt.fcgi