]>
Commit | Line | Data |
---|---|---|
f1b34d5a RD |
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 | ||
2f90df85 | 19 | MODULELIST = ['html', 'glcanvas', 'utils', 'ogl', ] #'lseditor'] |
f1b34d5a RD |
20 | |
21 | ||
22 | ||
23 | for module in MODULELIST: | |
24 | cwd = os.getcwd() | |
2f90df85 RD |
25 | print "**** Building %s ****" % module |
26 | err = build.main([sys.argv[0], '-C', module] + sys.argv[1:]) | |
f1b34d5a | 27 | os.chdir(cwd) |
2f90df85 RD |
28 | if err: |
29 | break | |
30 |