Ignore:
Timestamp:
Nov 12, 2007, 3:53:45 AM (17 years ago)
Author:
ecprice
Message:

Use the compiled Cheetah templates.

This means that you really need to run make after any change to the
template, though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/templates/Makefile

    r205 r235  
    1 TEMPLATES=functions.tmpl skeleton.tmpl
     1TEMPLATES=$(wildcard *.tmpl)
    22OUTPUTS=$(TEMPLATES:.tmpl=.py)
    33
    44all: ${OUTPUTS}
    55
    6 ${OUTPUTS}:${TEMPLATES}
    7         cheetah compile $^
     6%.py: %.tmpl
     7        cheetah compile $<
     8
     9#${OUTPUTS}:${TEMPLATES}
     10#       cheetah compile $^
    811
    912clean:
Note: See TracChangeset for help on using the changeset viewer.