1999-08-24 19:00:05 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
# Name: buildall.py
|
|
|
|
# Purpose: Invokes the build script for all modules defined in
|
|
|
|
# MODULELIST
|
|
|
|
#
|
|
|
|
# Author: Robin Dunn
|
|
|
|
#
|
|
|
|
# Created: 18-Aug-1999
|
|
|
|
# RCS-ID: $Id$
|
|
|
|
# Copyright: (c) 1999 by Total Control Software
|
|
|
|
# Licence: wxWindows license
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
import sys, os
|
|
|
|
sys.path.insert(0, '../distrib')
|
|
|
|
import build
|
|
|
|
|
1999-09-30 03:11:20 -04:00
|
|
|
MODULELIST = ['html', 'glcanvas', 'utils', 'ogl', ] #'lseditor']
|
1999-08-24 19:00:05 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for module in MODULELIST:
|
|
|
|
cwd = os.getcwd()
|
1999-09-30 03:11:20 -04:00
|
|
|
print "**** Building %s ****" % module
|
|
|
|
err = build.main([sys.argv[0], '-C', module] + sys.argv[1:])
|
1999-08-24 19:00:05 -04:00
|
|
|
os.chdir(cwd)
|
1999-09-30 03:11:20 -04:00
|
|
|
if err:
|
|
|
|
break
|
|
|
|
|