wxWidgets/utils/wxPython/modules/buildall.py
Robin Dunn 305b8c10f1 Added a simple makefile for those whose fingers can't type anything
but "make install"

Ensure that the full TARGETDIR exists

changed the build scripts to play nicer with make.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 05:01:36 +00:00

32 lines
807 B
Python
Executable File

#!/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
MODULELIST = ['html', 'glcanvas', 'utils', 'ogl', ] #'lseditor']
for module in MODULELIST:
cwd = os.getcwd()
print "**** Building %s ****" % module
err = build.main([sys.argv[0], '-C', module] + sys.argv[1:])
os.chdir(cwd)
if err:
break
sys.exit(err)