projects
/
xnet
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Better Makefile.
[xnet]
/
Makefile
1
MANAGE_PY
=
python manage.py
2
ROOT_DIR
=
xnet
3
APPS
= $(
shell
find
$(
ROOT_DIR
) -
name
'models.py'
| sed
's,/models.py$$,,; s:.*/::'
)
4
5
6
default
:
all
7
8
9
all
:
10
11
12
run
:
13
$(
MANAGE_PY
)
runserver
14
15
shell
:
16
$(
MANAGE_PY
)
shell
17
18
test
:
19
$(
MANAGE_PY
)
test
$(
APPS
)
20
21
resetdb
:
22
rm
-
f xnet
/
db.sqlite
23
$(
MANAGE_PY
)
syncdb
--
noinput