svn path=/trunk/packages/sipb-xen-www/; revision=304
-TEMPLATES=$(wildcard *.tmpl)
-OUTPUTS=$(TEMPLATES:.tmpl=.py)
+DIRS = templates
-all: ${OUTPUTS}
-
-%.py: %.tmpl
- cheetah compile $<
-
-#${OUTPUTS}:${TEMPLATES}
-# cheetah compile $^
+all:
+ for dir in $(DIRS); do \
+ (cd $$dir; $(MAKE) all); \
+ done
clean:
- @rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak
+ for dir in $(DIRS); do \
+ (cd $$dir; $(MAKE) clean); \
+ done