


cd ..
cd ..
DEVROOT=`pwd`; export DEVROOT

DIRDIST=$DEVROOT/devall; export DIRDIST

echo Create distribution directory on $DIRDIST from $DEVROOT
echo 
echo 
echo "    1) Be sure to write custom TARACTSRC !!!" 
echo "    2) Do not include taractqry if client installing via actconvert !!! "
echo "        (it will overwrite existing data) !!!"
echo
read answer

rm -r $DIRDIST 
mkdir $DIRDIST


cd $DEVROOT/fx/unx
./tarfxdev -Zdir $DIRDIST 

cd $DEVROOT/sqlflex/unx
./tarsqdev -Zdir $DIRDIST 

cd $DEVROOT/qryflex/unx
./tarqfdev -Zdir $DIRDIST 

cd $DEVROOT/act/bin
./taractqry -Zdir $DIRDIST 


if test -d $DEVROOT/docflex; then
   cd $DEVROOT/docflex
   ./tardoc -Zdir $DIRDIST 
fi

cd $DEVROOT/act/bin
./junkactsrc -dir $DIRDIST 

#last so any previous README is overwritten
cd $DEVROOT/fx/unx
cp insdevall.readme $DIRDIST/README
cp profileall tarall setupall setupan.bat setupmv.bat setupmv2.bat $DIRDIST

rm $DIRDIST/VERSION
uname -a >> $DIRDIST/VERSION
gcc -v 1>> $DIRDIST/VERSION 2>> $DIRDIST/VERSION
