X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf158fe6c6e0e8c4879c6ac45ba47e8eaacce128..848e071ac238467e7a944406fb44cf45ce8181b4:/wxPython/distrib/makerpm diff --git a/wxPython/distrib/makerpm b/wxPython/distrib/makerpm index b39243ea19..e0bf01245f 100755 --- a/wxPython/distrib/makerpm +++ b/wxPython/distrib/makerpm @@ -28,6 +28,7 @@ lcport=gtk unicode=0 tarname=wxPython-src srpmonly=0 +skipclean=0 #---------------------------------------------------------------------- # Check parameters @@ -140,6 +141,9 @@ if [ -z "${skipcopy}" ]; then cp -Rpf --link ${wxdir}/$d ${tarver} #> /dev/null 2>&1 fi done + mkdir ${tarver}/distrib + cp -Rpf --link ${wxdir}/distrib/scripts ${tarver}/distrib + # now do the same thing for wxPython, but use the DIRLIST to select dirs to copy for dir in `grep -v '#' ${wxdir}/wxPython/distrib/DIRLIST`; do @@ -177,9 +181,11 @@ if [ -z "${skipcopy}" ]; then cleanup "*.pyc" cleanup core cleanup "core.[0-9]*" + rm -f wxPython/samples/embedded/embedded + rm -f wxPython/samples/embedded/embedded.o # ports that are not supported yet - cleanup cocoa + #cleanup cocoa # wxMac needs some cocoa headers cleanup mgl cleanup motif cleanup os2 @@ -276,7 +282,7 @@ fi #---------------------------------------------------------------------- # Cleanup -if [ -z ${skipclean} ]; then +if [ "${skipclean}" = "0" ]; then echo "*** Cleaning up" rm -rf ${rpmtop} rm -rf ${builddir}