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
--- /dev/null
+#----------------------------------------------------------------------
+# Convenience makefile to drive the build script in a more user
+# friendly manner.
+#----------------------------------------------------------------------
+
+
+all:
+ ./buildall -b
+
+
+install: all
+ ./buildall -i
+
+clean:
+ ./buildall -c
+
+uninstall:
+ ./buildall -u
#!/bin/bash
cd src
-build $*
+python ../distrib/build.py $*
if [ "$?" != "0" ]; then
exit 1
fi
cd ../modules
-buildall.py $*
+python buildall.py $*
cd ..
cd %WXWIN%\utils\wxPython\src
-build %1 %2 %3 %4 %5 %6 %7 %8 %9
+python ..\distrib\build.py %1 %2 %3 %4 %5 %6 %7 %8 %9
cd %WXWIN%\utils\wxPython\modules
-buildall %1 %2 %3 %4 %5 %6 %7 %8 %9
+python .\buildall.py %1 %2 %3 %4 %5 %6 %7 %8 %9
cd %WXWIN%\utils\wxPython
$(TARGETDIR) :
- mkdir $(TARGETDIR)
+ mkdir -p $(TARGETDIR)
$(GENCODEDIR):
mkdir $(GENCODEDIR)
#----------------------------------------------------------------------------
if __name__ == '__main__':
- main(sys.argv)
+ err = main(sys.argv)
+ sys.exit(err)
#----------------------------------------------------------------------------
if err:
break
+sys.exit(err)