mkdir -p $DMGAPPS/Docs
mkdir -p $DMGAPPS/Samples
+if [ ! -d $DESTDIR ]; then
+ mkdir $DESTDIR
+fi
pushd $BUILDROOT
# Make wxWidgets and some contribs
- # For some reason Rez and DeRez have started locking up if run via
- # an ssh terminal. Figure out why, but in the meantime...
- if [ "$CHARTYPE" = "ansi" ]; then
- echo cp /projects/wx2.5/bld/lib/libwx_macd-2.5.?.r* lib
- cp /projects/wx2.5/bld/lib/libwx_macd-2.5.?.r* lib
- else
- echo cp /projects/wx2.5/bld-unicode/lib/libwx_macud-2.5.?.r* lib
- cp /projects/wx2.5/bld-unicode/lib/libwx_macud-2.5.?.r* lib
- fi
- touch lib/libwx*.r*
+# # For some reason Rez and DeRez have started locking up if run via
+# # an ssh terminal. Figure out why, but in the meantime...
+# if [ "$CHARTYPE" = "ansi" ]; then
+# echo cp /projects/wx2.5/bld/lib/libwx_macd-2.5.?.r* lib
+# cp /projects/wx2.5/bld/lib/libwx_macd-2.5.?.r* lib
+# else
+# echo cp /projects/wx2.5/bld-unicode/lib/libwx_macud-2.5.?.r* lib
+# cp /projects/wx2.5/bld-unicode/lib/libwx_macud-2.5.?.r* lib
+# fi
+# touch lib/libwx*.r*
make $MAKEJOBS
make $MAKEJOBS -C contrib/src/animate
$INSTALLROOT \
$RESOURCEDIR
- mv $PKGNAME.pkg $DMGROOT
+ mv $PKGNAME.pkg $DMGROOT/$PKGNAME.pkg
rm $RESOURCEDIR/postflight
rm $RESOURCEDIR/preflight
$PROGDIR/../makedmg $DMGROOT $DMGDIR $dmgname
echo Moving $DMGDIR/$dmgname.dmg to $DESTDIR
- mv $DMGDIR/$dmgname.dmg $DESTDIR
+ mv $DMGDIR/$dmgname.dmg $DESTDIR/$dmgname.dmg
#---------------------------------------------------------------------------
if [ ! -e $TARBALLDIR/wxPython-demo-$VERSION.tar.gz ]; then
cat > "$DMGAPPS/Samples/Build ERROR.txt" <<EOF
-The wxPython-demo tarball was not found when building this disk image!
+The wxPython-$VERSION-demo tarball was not found when building this disk image!
EOF
cp "$DMGAPPS/Samples/Build ERROR.txt" $DMGAPPS
$PROGDIR/../makedmg $DMGAPPS $DMGDIR $dmgname
echo Moving $DMGDIR/$dmgname.dmg to $DESTDIR
- mv $DMGDIR/$dmgname.dmg $DESTDIR
+ mv $DMGDIR/$dmgname.dmg $DESTDIR/$dmgname.dmg
fi