Last change
on this file since 291 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
|
Rev | Line | |
---|
[235] | 1 | TEMPLATES=$(wildcard *.tmpl) |
---|
[205] | 2 | OUTPUTS=$(TEMPLATES:.tmpl=.py) |
---|
| 3 | |
---|
| 4 | all: ${OUTPUTS} |
---|
| 5 | |
---|
[235] | 6 | %.py: %.tmpl |
---|
| 7 | cheetah compile $< |
---|
[205] | 8 | |
---|
[235] | 9 | #${OUTPUTS}:${TEMPLATES} |
---|
| 10 | # cheetah compile $^ |
---|
| 11 | |
---|
[205] | 12 | clean: |
---|
| 13 | @rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak |
---|
Note: See
TracBrowser
for help on using the repository browser.