X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0261a72469b57877b27a616ff790b983184df95..b7e7242718abab356a303606612be6e34234ea59:/utils/wxPython/distrib/build.py diff --git a/utils/wxPython/distrib/build.py b/utils/wxPython/distrib/build.py index b195f9bbc1..234d5a8cae 100755 --- a/utils/wxPython/distrib/build.py +++ b/utils/wxPython/distrib/build.py @@ -119,7 +119,7 @@ import sys, os, string, getopt # This is really the wxPython version number, and will be placed in the # Makefiles for use with the distribution related targets. -__version__ = '2.1.4' +__version__ = '2.1.12' #---------------------------------------------------------------------------- @@ -724,12 +724,15 @@ uninstall: %(OTHERUNINSTALLTARGETS)s %%.o : $(GENCODEDIR)/%%.c $(CC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $< +ifndef NOSWIG $(GENCODEDIR)/%%.cpp : %%.i swig $(SWIGFLAGS) -c -o $@ $< $(GENCODEDIR)/%%.py : %%.i swig $(SWIGFLAGS) -c -o $(GENCODEDIR)/tmp_wrap.cpp $< rm $(GENCODEDIR)/tmp_wrap.cpp +endif + $(TARGETDIR)/%% : %% cp -f $< $@ @@ -754,7 +757,7 @@ pycfiles : $(PYMODULES) $(TARGETDIR) : - mkdir $(TARGETDIR) + mkdir -p $(TARGETDIR) $(GENCODEDIR): mkdir $(GENCODEDIR) @@ -772,7 +775,8 @@ $(GENCODEDIR): #---------------------------------------------------------------------------- if __name__ == '__main__': - main(sys.argv) + err = main(sys.argv) + sys.exit(err) #----------------------------------------------------------------------------