X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67be49eec662508cef58c30a2214044d1249a579..21f0762a1a4609749f43234c61f40d6692eb815a:/wxPython/distrib/makerpm diff --git a/wxPython/distrib/makerpm b/wxPython/distrib/makerpm index bd0fc32e77..5acb514db4 100755 --- a/wxPython/distrib/makerpm +++ b/wxPython/distrib/makerpm @@ -3,6 +3,7 @@ # Build an RPM containing both wxGTK and wxPython ##set -o xtrace +##set -o errexit spectemplate=distrib/wxPythonFull.spec.in @@ -168,7 +169,7 @@ if [ -z "${skipcopy}" ]; then rm -f ChangeLog rm *.spec rm -rf distrib/msw/tmake - rm -rf docs/html + #rm -rf docs/html #rm -rf docs/latex #rm -rf contrib/docs #rm -rf contrib/samples @@ -236,7 +237,7 @@ fi #---------------------------------------------------------------------- # build the RPM -if [ -z "${skiprpm}" ]; then +if [ "${skiprpm}" != "1" ]; then echo "*** Building RPMs..." cp ${distdir}/${tarver}.tar.bz2 ${rpmtop}/SOURCES @@ -282,7 +283,7 @@ fi #---------------------------------------------------------------------- # Cleanup -if [ -z ${skipclean} ]; then +if [ "${skipclean}" = "0" ]; then echo "*** Cleaning up" rm -rf ${rpmtop} rm -rf ${builddir}