source: Makefile@ 6282

Last change on this file since 6282 was 6259, checked in by roland, 17 years ago

added debug-init, to only init debug info once

File size: 588 bytes
RevLine 
[6258]1SQLDB="sqllite.db"
2
[6255]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
[6258]16init:
[6255]17#Re-init database
18 @./sampleserver/manage.py syncdb --pythonpath=`pwd`
19
[6259]20debug-init:
21# Put debug.sql in database
22 @sqlite3 $(SQLDB) < debug.sql
23
[6255]24dist-clean:
25#Remove database
[6258]26 @rm -vf $(SQLDB)
[6256]27
[6259]28new: dist-clean init debug-init debug
Note: See TracBrowser for help on using the repository browser.