source: trunk/web/templates/Makefile @ 246

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