RPMBUILDARGS=
PLATFORM=
+NORPMS=
doupdatecvs()
{
echo Making...
make -j1 dist bzip-dist-only
+ mkdir $WXDEST/$PLATFORM
+
+ if [ "$NORPMS" != "1" ]
+ then
+
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
echo "RPMS/i386:"
ls RPMS/i386
- mkdir $WXDEST/$PLATFORM
-
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST/$PLATFORM
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST/$PLATFORM
+
+ fi
+
cp $WXDEST/wxgtk/release/*.tar.gz $WXDEST/$PLATFORM
cp $WXDEST/wxgtk/release/*.tar.bz2 $WXDEST/$PLATFORM
echo Making...
make -j1 dist bzip-dist-only
+ if [ "$NORPMS" != "1" ]
+ then
+
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST
+
+ fi
+
cp $WXDEST/wxmgl/release/*.tar.gz $WXDEST
cp $WXDEST/wxmgl/release/*.tar.bz2 $WXDEST
echo Making...
make -j1 dist bzip-dist-only
+ if [ "$NORPMS" != "1" ]
+ then
+
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST
+
+ fi
+
cp $WXDEST/wxmotif/release/*.tar.gz $WXDEST
cp $WXDEST/wxmotif/release/*.tar.bz2 $WXDEST
echo Making...
make -j1 dist bzip-dist-only
+ mkdir $WXDEST/$PLATFORM
+
+ if [ "$NORPMS" != "1" ]
+ then
+
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
echo "RPMS/i386:"
ls RPMS/i386
- mkdir $WXDEST/$PLATFORM
-
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST/$PLATFORM
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST/$PLATFORM
+
+ fi
+
cp $WXDEST/wxbase/release/*.tar.gz $WXDEST/$PLATFORM
cp $WXDEST/wxbase/release/*.tar.bz2 $WXDEST/$PLATFORM
echo Making...
make -j1 dist bzip-dist-only
+ if [ "$NORPMS" != "1" ]
+ then
+
echo Setting up RPM build dir $RPM_ROOT...
rm -f -r $RPM_ROOT
mkdir $RPM_ROOT
cp $RPM_ROOT/SRPMS/*.rpm $WXDEST
cp $RPM_ROOT/RPMS/i386/*.rpm $WXDEST
+
+ fi
+
cp $WXDEST/wxx11/release/*.tar.gz $WXDEST
cp $WXDEST/wxx11/release/*.tar.bz2 $WXDEST
echo " --wxmac Make wxMac tarball"
echo " --all Spin EVERYTHING"
echo " --updatecvs Update from CVS"
+ echo " --norpms No RPMS, just tarballs"
exit 1
}
--wxbaseunicode) SPINWXBASEUNICODE=1 ;;
--all) SPINEVERYTHING=1 ;;
--updatecvs) UPDATECVS=1 ;;
+ --norpms) NORPMS=1 ;;
*)
usage
exit