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
This commit is contained in:
Robin Dunn
1999-10-19 05:01:36 +00:00
parent 7b65ea1af9
commit 305b8c10f1
5 changed files with 26 additions and 6 deletions

18
utils/wxPython/Makefile Normal file
View File

@@ -0,0 +1,18 @@
#----------------------------------------------------------------------
# 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

View File

@@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
cd src cd src
build $* python ../distrib/build.py $*
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
exit 1 exit 1
fi fi
cd ../modules cd ../modules
buildall.py $* python buildall.py $*
cd .. cd ..

View File

@@ -1,9 +1,9 @@
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

View File

@@ -757,7 +757,7 @@ pycfiles : $(PYMODULES)
$(TARGETDIR) : $(TARGETDIR) :
mkdir $(TARGETDIR) mkdir -p $(TARGETDIR)
$(GENCODEDIR): $(GENCODEDIR):
mkdir $(GENCODEDIR) mkdir $(GENCODEDIR)
@@ -775,7 +775,8 @@ $(GENCODEDIR):
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
if __name__ == '__main__': if __name__ == '__main__':
main(sys.argv) err = main(sys.argv)
sys.exit(err)
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------

View File

@@ -28,3 +28,4 @@ for module in MODULELIST:
if err: if err:
break break
sys.exit(err)