From: Eric Price Date: Mon, 12 Nov 2007 09:08:34 +0000 (-0500) Subject: Move out of the templates directory. X-Git-Tag: sipb-xen-www/1~35 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/4663602deda7a8c90d59c8d3a57cd5a3945d73ca Move out of the templates directory. svn path=/trunk/web/; revision=236 --- diff --git a/Makefile b/Makefile new file mode 100644 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 diff --git a/templates/controls.py b/controls.py similarity index 100% rename from templates/controls.py rename to controls.py diff --git a/templates/getafsgroups.py b/getafsgroups.py similarity index 100% rename from templates/getafsgroups.py rename to getafsgroups.py diff --git a/templates/main.py b/main.py similarity index 100% rename from templates/main.py rename to main.py diff --git a/templates/static/VncViewer.jar b/static/VncViewer.jar similarity index 100% rename from templates/static/VncViewer.jar rename to static/VncViewer.jar diff --git a/templates/static/layout.css b/static/layout.css similarity index 100% rename from templates/static/layout.css rename to static/layout.css diff --git a/templates/static/prototype.js b/static/prototype.js similarity index 100% rename from templates/static/prototype.js rename to static/prototype.js diff --git a/templates/static/style.css b/static/style.css similarity index 100% rename from templates/static/style.css rename to static/style.css diff --git a/templates/templates.py b/templates/__init__.py similarity index 100% rename from templates/templates.py rename to templates/__init__.py diff --git a/templates/validation.py b/validation.py similarity index 100% rename from templates/validation.py rename to validation.py diff --git a/templates/webcommon.py b/webcommon.py similarity index 100% rename from templates/webcommon.py rename to webcommon.py