Changeset 6343 for trunk


Ignore:
Timestamp:
Oct 6, 2008, 11:28:19 AM (16 years ago)
Author:
RIck van der Zwet
Message:

Made some additional symlinks/entries in the Makefile to allow cleaning of all
the generated data and better dependency trackers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r6340 r6343  
    77         sed -e 's/^/make /g'
    88
    9 debug:
     9init: ./bin/buildout
     10#Setup environment database
     11        @./bin/buildout
     12        @echo "no" | ./bin/django syncdb
     13
     14./bin/buildout:
     15#Setup environment database - part creation
     16        @python bootstrap.py
     17
     18
     19debug: init
    1020#Run server in extra debugging mode
    1121        @./bin/django runserver_plus
    1222
    13 run:
     23run: init
    1424#Run server in normal power mode
    1525        @./bin/django runserver
    1626
    17 init:
    18 #Re-init database
    19         @echo "no" | ./bin/django syncdb
    2027
    21 debug-init:
     28debug-init: init
    2229#Put debug.sql in database
    2330        @sqlite3 $(SQLDB) < debug.sql
    2431
    25 dist-clean:
    26 #Remove database
    27         @rm -vf $(SQLDB)
     32clean:
     33#Remove all created data, development ground, but keep downloaded files
     34        @rm -f $(SQLDB)
     35        @rm -Rf develop-eggs eggs parts exodus.db .installed.cfg bin
     36        @rm -Rf sampleserver
    2837
    29 new: dist-clean init debug-init debug
     38dist-clean: clean
     39#Remove all created data, development ground and downloaded files
     40        @rm -Rf downloads
     41
     42test: init
     43# Testing suite
     44        @./bin/test
     45
     46new: clean debug-init debug
    3047#Fresh start, with new datebase which include debugging code
    3148
    32 batch: dist-clean init debug-init run
     49batch: clean debug-init run
    3350#Intended usage for batch runs only e.g. no debug server
    3451
Note: See TracChangeset for help on using the changeset viewer.