source:
trunk/packages/invirt-web/code/templates/Makefile
@
2546
Last change on this file since 2546 was 1318, checked in by price, 16 years ago | |
---|---|
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.