blob: 28380cfe86a3e99e3221f25aa6ed7fc87699f831 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Makefile to simplify some common AppEngine actions.
# Use 'make help' for a list of commands.
PYTHON=`which python2.5`
DEV_APPSERVER=$(PYTHON) `which dev_appserver.py`
APPCFG=$(PYTHON) `which appcfg.py`
PORT=8080
default: help
help:
@echo "Available commands:"
@sed -n '/^[a-zA-Z0-9_.]*:/s/:.*//p' <Makefile | sort
serve:
$(DEV_APPSERVER) --port=$(PORT) .
serve_remote:
$(DEV_APPSERVER) --port=$(PORT) --address 0.0.0.0 .
serve_email:
$(DEV_APPSERVER) --port=$(PORT) --enable_sendmail .
serve_remote_email:
$(DEV_APPSERVER) --port=$(PORT) --enable_sendmail --address 0.0.0.0 .
release: make_release.sh django/.svn
sh make_release.sh
update: release
$(APPCFG) update release
upload: update
update_indexes:
$(APPCFG) update_indexes .
vacuum_indexes:
$(APPCFG) vacuum_indexes .
all: django pygments sqlparse
django:
svn co http://code.djangoproject.com/svn/django/trunk/django
pygments:
ln -s `python -c "import pygments,os; print os.path.dirname(pygments.__file__)"` .
sqlparse:
ln -s ../../sqlparse .
|