projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the compiled Cheetah templates.
[invirt/packages/invirt-web.git]
/
templates
/
Makefile
diff --git
a/templates/Makefile
b/templates/Makefile
index
72f3626
..
aa083e2
100644
(file)
--- a/
templates/Makefile
+++ b/
templates/Makefile
@@
-1,10
+1,13
@@
-TEMPLATES=functions.tmpl skeleton.tmpl
+TEMPLATES=$(wildcard *.tmpl)
OUTPUTS=$(TEMPLATES:.tmpl=.py)
all: ${OUTPUTS}
OUTPUTS=$(TEMPLATES:.tmpl=.py)
all: ${OUTPUTS}
-${OUTPUTS}:${TEMPLATES}
- cheetah compile $^
+%.py: %.tmpl
+ cheetah compile $<
+
+#${OUTPUTS}:${TEMPLATES}
+# cheetah compile $^
clean:
@rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak
clean:
@rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak