


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  as JUNKACTSRC !!!" 
echo
read answer

rm -r $DIRDIST 
mkdir $DIRDIST


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

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

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

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


if test -d $DEVROOT/docflex; then
   cd $DEVROOT/docflex
   ./tardoc -dir $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 setupacrobat.linux $DIRDIST

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