source: Makefile@ 6281

Last change on this file since 6281 was 6259, checked in by roland, 16 years ago

added debug-init, to only init debug info once

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.