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
+python ../distrib/build.py $*
if [ "$?" != "0" ]; then
exit 1
fi
cd ../modules
if [ "$?" != "0" ]; then
exit 1
fi
cd ../modules
cd %WXWIN%\utils\wxPython\src
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
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
cd %WXWIN%\utils\wxPython
$(GENCODEDIR):
mkdir $(GENCODEDIR)
$(GENCODEDIR):
mkdir $(GENCODEDIR)
#----------------------------------------------------------------------------
if __name__ == '__main__':
#----------------------------------------------------------------------------
if __name__ == '__main__':
+ err = main(sys.argv)
+ sys.exit(err)
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------