projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e37dd15
)
Fix the Makefile to recursively apply make.
author
Eric Price
<ecprice@mit.edu>
Sat, 29 Mar 2008 03:09:08 +0000
(23:09 -0400)
committer
Eric Price
<ecprice@mit.edu>
Sat, 29 Mar 2008 03:09:08 +0000
(23:09 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=304
code/Makefile
patch
|
blob
|
history
diff --git
a/code/Makefile
b/code/Makefile
index
aa083e2
..
582293f
100644
(file)
--- a/
code/Makefile
+++ b/
code/Makefile
@@
-1,13
+1,11
@@
-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:
clean:
- @rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak
+ for dir in $(DIRS); do \
+ (cd $$dir; $(MAKE) clean); \
+ done