Fix typos and improve English in doc/events.rst
[xnet] / Makefile
... / ...
CommitLineData
1MANAGE_PY = python manage.py
2ROOT_DIR = xnet
3APPS = $(shell find $(ROOT_DIR) -name 'models.py' | sed 's,/models.py$$,,; s:.*/::')
4
5
6default: all
7
8
9all:
10
11
12run:
13 $(MANAGE_PY) runserver
14
15shell:
16 $(MANAGE_PY) shell
17
18test:
19 $(MANAGE_PY) test $(APPS)
20
21resetdb:
22 rm -f xnet/db.sqlite
23 $(MANAGE_PY) syncdb --noinput
24
25
26doc:
27 $(MAKE) -C doc html
28
29
30.PHONY: default all run shell test resetdb doc