DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
#!/bin/bash

if [ $# -ne 2 ]
then
  echo "Usage: `basename $0` OBJDIR SRCDIR"
  exit $E_BADARGS 
fi

OBJDIR=$1
SRCDIR=$2

INSTALL_DIST=c:/minimo_installer_dist

echo ---------------------------------------------------
echo OBJDIR = $OBJDIR
echo SRCDIR = $SRCDIR
echo ---------------------------------------------------

# move the bits to INSTALL_DIST

pushd $OBJDIR/dist/minimo

rm -rf $INSTALL_DIST/minimo
mkdir $INSTALL_DIST/minimo

cp -aR * $INSTALL_DIST/minimo
popd

# move all the config files into INSTALL_DIST
pushd $SRCDIR/../config/wince/
cp -a * $INSTALL_DIST
popd

pushd $INSTALL_DIST

rm -f minimo.*.DAT minimo.*.cab minimo.log minimo_wince_setup.exe

./cabwiz minimo.inf /err minimo.log /cpu 2577

cat minimo.log

./ezsetup -l english -i minimo_installer.ini -r readme.txt -e eula.txt -o minimo_wince_setup.exe

cp -a minimo_wince_setup.exe $OBJDIR/dist/