X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0f475e8aa9e236b097411bfc9ad9db7309a43b1a..1748289348c4c7dcc467edbf7192ade8a1b78921:/wxPython/distrib/makerpm diff --git a/wxPython/distrib/makerpm b/wxPython/distrib/makerpm index 3d21e5a7c6..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 @@ -28,6 +29,7 @@ lcport=gtk unicode=0 tarname=wxPython-src srpmonly=0 +skipclean=0 #---------------------------------------------------------------------- # Check parameters @@ -167,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 @@ -235,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 @@ -281,7 +283,7 @@ fi #---------------------------------------------------------------------- # Cleanup -if [ -z ${skipclean} ]; then +if [ "${skipclean}" = "0" ]; then echo "*** Cleaning up" rm -rf ${rpmtop} rm -rf ${builddir}