source: trunk/Makefile@ 6311

Last change on this file since 6311 was 6311, checked in by RIck van der Zwet, 17 years ago

Suggestion DW: Use 'official' structure: http://svnbook.red-bean.com/en/1.1/ch04s07.html

  • Property svn:mergeinfo set to
File size: 588 bytes
Line 
1SQLDB="sqllite.db"
2
3help:
4#Usage
5 @grep -e '[a-z\-]:' -e '^#' Makefile |\
6 sed -e :a -e '$!N;s/\n#/ /;ta' -e 'P;D' | sed -e 's/^/make /g'
7
8debug:
9#Run server in extra debugging mode
10 @./sampleserver/manage.py runserver_plus 8000 --pythonpath=`pwd`
11
12run:
13#Run server in normal power mode
14 @./sampleserver/manage.py runserver 8000 --pythonpath=`pwd`
15
16init:
17#Re-init database
18 @./sampleserver/manage.py syncdb --pythonpath=`pwd`
19
20debug-init:
21# Put debug.sql in database
22 @sqlite3 $(SQLDB) < debug.sql
23
24dist-clean:
25#Remove database
26 @rm -vf $(SQLDB)
27
28new: dist-clean init debug-init debug
Note: See TracBrowser for help on using the repository browser.