projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show power buttons as icons
[invirt/packages/invirt-web.git]
/
code
/
Makefile
diff --git
a/code/Makefile
b/code/Makefile
index
aa083e2
..
c1649b6
100644
(file)
--- a/
code/Makefile
+++ b/
code/Makefile
@@
-1,13
+1,20
@@
-TEMPLATES=$(wildcard *.tmpl)
-OUTPUTS=$(TEMPLATES:.tmpl=.py)
+DIRS = templates
-all: ${OUTPUTS}
+all: kill chmod compile
-%.py: %.tmpl
- cheetah compile $<
+chmod:
+ chgrp -R sipb-xen . 2>/dev/null || true
+ chmod -R g+w . 2>/dev/null || true
-#${OUTPUTS}:${TEMPLATES}
-# cheetah compile $^
+kill:
+ wget http://xvm.mit.edu/kill.cgi -O /dev/null -nv
+
+compile:
+ 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