]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/makerpm
added our own implementation of strto[u]ll() if the system doesn't have one (patch...
[wxWidgets.git] / wxPython / distrib / makerpm
index bd0fc32e7762450a061940e50dade3afe6ba54d4..5acb514db4ce4bcf37018a676c8ef8aa76656550 100755 (executable)
@@ -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}