Move out of the templates directory.
[invirt/packages/invirt-web.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..aa083e2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+TEMPLATES=$(wildcard *.tmpl)
+OUTPUTS=$(TEMPLATES:.tmpl=.py)
+
+all: ${OUTPUTS}
+
+%.py: %.tmpl
+       cheetah compile $<
+
+#${OUTPUTS}:${TEMPLATES}
+#      cheetah compile $^
+
+clean:
+       @rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak