source: trunk/web/templates/Makefile @ 279

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