From 4663602deda7a8c90d59c8d3a57cd5a3945d73ca Mon Sep 17 00:00:00 2001 From: Eric Price Date: Mon, 12 Nov 2007 04:08:34 -0500 Subject: [PATCH] Move out of the templates directory. svn path=/trunk/web/; revision=236 --- Makefile | 13 +++++++++++++ templates/controls.py => controls.py | 0 templates/getafsgroups.py => getafsgroups.py | 0 templates/main.py => main.py | 0 {templates/static => static}/VncViewer.jar | 0 {templates/static => static}/layout.css | 0 {templates/static => static}/prototype.js | 0 {templates/static => static}/style.css | 0 templates/{templates.py => __init__.py} | 0 templates/validation.py => validation.py | 0 templates/webcommon.py => webcommon.py | 0 11 files changed, 13 insertions(+) create mode 100644 Makefile rename templates/controls.py => controls.py (100%) rename templates/getafsgroups.py => getafsgroups.py (100%) rename templates/main.py => main.py (100%) rename {templates/static => static}/VncViewer.jar (100%) rename {templates/static => static}/layout.css (100%) rename {templates/static => static}/prototype.js (100%) rename {templates/static => static}/style.css (100%) rename templates/{templates.py => __init__.py} (100%) rename templates/validation.py => validation.py (100%) rename templates/webcommon.py => webcommon.py (100%) 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 -- 1.7.9.5