Last change
on this file since 2145 was
235,
checked in by ecprice, 17 years ago
|
Use the compiled Cheetah templates.
This means that you really need to run make after any change to the
template, though.
|
File size:
206 bytes
|
Line | |
---|
1 | TEMPLATES=$(wildcard *.tmpl) |
---|
2 | OUTPUTS=$(TEMPLATES:.tmpl=.py) |
---|
3 | |
---|
4 | all: ${OUTPUTS} |
---|
5 | |
---|
6 | %.py: %.tmpl |
---|
7 | cheetah compile $< |
---|
8 | |
---|
9 | #${OUTPUTS}:${TEMPLATES} |
---|
10 | # cheetah compile $^ |
---|
11 | |
---|
12 | clean: |
---|
13 | @rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak |
---|
Note: See
TracBrowser
for help on using the repository browser.