]>
Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/env python | |
2 | #---------------------------------------------------------------------------- | |
3 | # Name: buildall.py | |
4 | # Purpose: Invokes the build script for all modules defined in | |
5 | # MODULELIST | |
6 | # | |
7 | # Author: Robin Dunn | |
8 | # | |
9 | # Created: 18-Aug-1999 | |
10 | # RCS-ID: $Id$ | |
11 | # Copyright: (c) 1999 by Total Control Software | |
12 | # Licence: wxWindows license | |
13 | #---------------------------------------------------------------------------- | |
14 | ||
15 | import sys, os | |
16 | sys.path.insert(0, '../distrib') | |
17 | import build | |
18 | ||
19 | MODULELIST = ['html', 'glcanvas', 'utils', 'lseditor'] | |
20 | ||
21 | ||
22 | ||
23 | for module in MODULELIST: | |
24 | cwd = os.getcwd() | |
25 | print "**** Building %s" % module | |
26 | build.main([sys.argv[0], '-C', module] + sys.argv[1:]) | |
27 | os.chdir(cwd) |