Changeset 304 for trunk


Ignore:
Timestamp:
Mar 28, 2008, 11:09:08 PM (17 years ago)
Author:
ecprice
Message:

Fix the Makefile to recursively apply make.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/Makefile

    r236 r304  
    1 TEMPLATES=$(wildcard *.tmpl)
    2 OUTPUTS=$(TEMPLATES:.tmpl=.py)
     1DIRS = templates
    32
    4 all: ${OUTPUTS}
    5 
    6 %.py: %.tmpl
    7         cheetah compile $<
    8 
    9 #${OUTPUTS}:${TEMPLATES}
    10 #       cheetah compile $^
     3all:
     4        for dir in $(DIRS); do \
     5                (cd $$dir; $(MAKE) all); \
     6        done
    117
    128clean:
    13         @rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak
     9        for dir in $(DIRS); do \
     10                (cd $$dir; $(MAKE) clean); \
     11        done
Note: See TracChangeset for help on using the changeset viewer.