SQLDB="exodus.db" help: #Usage @grep -e '[a-z\-]:' -e '^#' Makefile | sed -e 's/:.*/:/g' | tr '\n' '@' |\ sed -e 's/@#/ /g' -e 's/@$$//g' | tr '@' '\n' |\ sed -e 's/^/make /g' debug: #Run server in extra debugging mode @./bin/django runserver_plus run: #Run server in normal power mode @./bin/django runserver init: #Re-init database @echo "no" | ./bin/django syncdb debug-init: #Put debug.sql in database @sqlite3 $(SQLDB) < debug.sql dist-clean: #Remove database @rm -vf $(SQLDB) new: dist-clean init debug-init debug #Fresh start, with new datebase which include debugging code batch: dist-clean init debug-init run #Intended usage for batch runs only e.g. no debug server