Move out of the templates directory.
authorEric Price <ecprice@mit.edu>
Mon, 12 Nov 2007 09:08:34 +0000 (04:08 -0500)
committerEric Price <ecprice@mit.edu>
Mon, 12 Nov 2007 09:08:34 +0000 (04:08 -0500)
svn path=/trunk/web/; revision=236

Makefile [new file with mode: 0644]
controls.py [moved from templates/controls.py with 100% similarity]
getafsgroups.py [moved from templates/getafsgroups.py with 100% similarity]
main.py [moved from templates/main.py with 100% similarity]
static/VncViewer.jar [moved from templates/static/VncViewer.jar with 100% similarity]
static/layout.css [moved from templates/static/layout.css with 100% similarity]
static/prototype.js [moved from templates/static/prototype.js with 100% similarity]
static/style.css [moved from templates/static/style.css with 100% similarity]
templates/__init__.py [moved from templates/templates.py with 100% similarity]
validation.py [moved from templates/validation.py with 100% similarity]
webcommon.py [moved from templates/webcommon.py with 100% similarity]

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
similarity index 100%
rename from templates/controls.py
rename to controls.py
similarity index 100%
rename from templates/getafsgroups.py
rename to getafsgroups.py
similarity index 100%
rename from templates/main.py
rename to main.py
similarity index 100%
rename from templates/static/style.css
rename to static/style.css
similarity index 100%
rename from templates/templates.py
rename to templates/__init__.py
similarity index 100%
rename from templates/validation.py
rename to validation.py
similarity index 100%
rename from templates/webcommon.py
rename to webcommon.py