#!/bin/sh
#
# This script builds all the binary tar files for Thot Editor
#
#       thoteditor-$MACH-$THOTVERSION.tar.gz
#

THOTVERSION=2.1e
THOTDIR=/tahiti/diffusion/opera
DEST=/tahiti/thottape
PLATFORMS="solaris2 LINUX-ELF RS6000 osf1"

TAR="tar cvbfh 200"
COMPRESS="gzip -9"

cd $THOTDIR

cd ..

for MACH in $PLATFORMS
do
   $TAR - \
   Thot/README \
   Thot/NEWS.Thot.2.1 \
   Thot/NEWS.Thoteditor.2.1 \
   Thot/COPYRIGHT \
   Thot/AboutThot \
   Thot/README.thoteditor \
   Thot/batch/PRESEN.GRM \
   Thot/batch/STRUCT.GRM \
   Thot/batch/TRANS.GRM \
   Thot/doc/languages.html \
   Thot/doc/languages.toc.html \
   Thot/doc/thoteditor/Thotman-E.PIV \
   Thot/doc/thoteditor/Thotman-F.PIV \
   Thot/doc/thoteditor/ManDraw.PIV \
   Thot/doc/thoteditor/Bilbon.gif \
   Thot/doc/thoteditor/COPYRIGHT.html \
   Thot/doc/thoteditor/Compile.html \
   Thot/doc/thoteditor/Configure.html \
   Thot/doc/thoteditor/Developers.html \
   Thot/doc/thoteditor/Download.html \
   Thot/doc/thoteditor/Index.html \
   Thot/doc/thoteditor/Keyboard.html \
   Thot/doc/thoteditor/New.html \
   Thot/doc/thoteditor/Platforms.html \
   Thot/doc/thoteditor/Registry.html \
   Thot/doc/thoteditor/linux.html \
   Thot/doc/thoteditor/Opera.eps \
   Thot/doc/thoteditor/Sources.fig \
   Thot/doc/thoteditor/Sources.gif \
   Thot/doc/thoteditor/mainwindow.gif \
   Thot/doc/thoteditor/opera.gif \
   Thot/doc/thoteditor/opera.xpm \
   Thot/doc/thoteditor/outils.gif \
   Thot/doc/thoteditor/palette1.gif \
   Thot/doc/thoteditor/palette2.gif \
   Thot/doc/thoteditor/polygones.gif \
   Thot/doc/thoteditor/thot.gif \
   Thot/doc/thoteditor/thotdraw.gif \
   Thot/doc/thoteditor/traits.gif \
   Thot/doc/thoteditor/manual_html/*.html \
   Thot/config/XKeysymDB \
   Thot/config/thot.ini \
   Thot/config/thot.color \
   Thot/config/thot.pattern \
   Thot/config/thot.keyboard \
   Thot/config/fr-thotdialogue \
   Thot/config/en-appdialogue \
   Thot/config/en-compildialogue \
   Thot/config/en-corrdialogue \
   Thot/config/en-cssmessage \
   Thot/config/en-drawdialogue \
   Thot/config/en-grmdialogue \
   Thot/config/en-inddialogue \
   Thot/config/en-itfdialogue \
   Thot/config/en-libdialogue \
   Thot/config/en-printdialogue \
   Thot/config/en-prsdialogue \
   Thot/config/en-strdialogue \
   Thot/config/en-thotdialogue \
   Thot/config/en-thotmessage \
   Thot/config/en-thotversion \
   Thot/config/en-transdialogue \
   Thot/config/en-typdialogue \
   Thot/config/fr-appdialogue \
   Thot/config/fr-compildialogue \
   Thot/config/fr-corrdialogue \
   Thot/config/fr-cssmessage \
   Thot/config/fr-drawdialogue \
   Thot/config/fr-grmdialogue \
   Thot/config/fr-inddialogue \
   Thot/config/fr-itfdialogue \
   Thot/config/fr-libdialogue \
   Thot/config/fr-printdialogue \
   Thot/config/fr-prsdialogue \
   Thot/config/fr-strdialogue \
   Thot/config/fr-thotdialogue \
   Thot/config/fr-thotmessage \
   Thot/config/fr-thotversion \
   Thot/config/fr-transdialogue \
   Thot/config/fr-typdialogue \
   Thot/dicopar/*.ptn \
   Thot/dicopar/*.tri \
   Thot/dicopar/alphabet \
   Thot/dicopar/*.tri \
   Thot/dicopar/clavier \
   Thot/$MACH/bin/thot \
   Thot/$MACH/bin/app \
   Thot/$MACH/bin/grm \
   Thot/$MACH/bin/prs \
   Thot/$MACH/bin/rescandialogue \
   Thot/$MACH/bin/str \
   Thot/$MACH/bin/tra \
   Thot/$MACH/bin/print \
   Thot/batch/MachineType \
   Thot/fonts/Families.list \
   Thot/fonts/fonts.dir \
   Thot/fonts/icones* \
   Thot/fonts/iv* \
   Thot/schemas/Makefile \
   Thot/schemas/Text_ASCII.inc \
   Thot/schemas/Text_SGML.inc \
   Thot/schemas/Text_Latex.inc \
   Thot/schemas/exc_matrix.h \
   Thot/schemas/exc_Table.h \
   Thot/schemas/Math.h \
   Thot/schemas/Rapport.h \
   Thot/schemas/Arbre2.S \
   Thot/schemas/Draw2.S \
   Thot/schemas/Draw3.S \
   Thot/schemas/Expose.S \
   Thot/schemas/ExtIndex.S \
   Thot/schemas/ExtCss.S \
   Thot/schemas/Feuille.S \
   Thot/schemas/Fichier.S \
   Thot/schemas/Lettre.S \
   Thot/schemas/Math.S \
   Thot/schemas/Palette.S \
   Thot/schemas/Paragraphe.S \
   Thot/schemas/Rapport.S \
   Thot/schemas/RefBib.S \
   Thot/schemas/Table.S \
   Thot/schemas/Arbre2.STR \
   Thot/schemas/Draw2.STR \
   Thot/schemas/Draw3.STR \
   Thot/schemas/Expose.STR \
   Thot/schemas/ExtIndex.STR \
   Thot/schemas/ExtCss.STR \
   Thot/schemas/Feuille.STR \
   Thot/schemas/Fichier.STR \
   Thot/schemas/Lettre.STR \
   Thot/schemas/Math.STR \
   Thot/schemas/Palette.STR \
   Thot/schemas/Paragraphe.STR \
   Thot/schemas/Rapport.STR \
   Thot/schemas/RefBib.STR \
   Thot/schemas/Table.STR \
   Thot/schemas/Arbre2P.P \
   Thot/schemas/Draw2P.P \
   Thot/schemas/Draw3P.P \
   Thot/schemas/ExposeP.P \
   Thot/schemas/ExtIndexP.P \
   Thot/schemas/ExtCssP.P \
   Thot/schemas/FeuilleP.P \
   Thot/schemas/FichierP.P \
   Thot/schemas/LettreP.P \
   Thot/schemas/MathP.P \
   Thot/schemas/PaletteP.P \
   Thot/schemas/ParagrLTP.P \
   Thot/schemas/ParagraphP.P \
   Thot/schemas/RapportP.P \
   Thot/schemas/RefBibP.P \
   Thot/schemas/TableP.P \
   Thot/schemas/Arbre2P.PRS \
   Thot/schemas/Draw2P.PRS \
   Thot/schemas/Draw3P.PRS \
   Thot/schemas/Draw3Palette.PRS \
   Thot/schemas/ExposePFS.PRS \
   Thot/schemas/ExposePI.PRS \
   Thot/schemas/ExposePIN.PRS \
   Thot/schemas/ExposePINUS.PRS \
   Thot/schemas/ExposePIUS.PRS \
   Thot/schemas/ExposePP.PRS \
   Thot/schemas/ExposePPUS.PRS \
   Thot/schemas/ExtIndexPP.PRS \
   Thot/schemas/ExtIndexPPE.PRS \
   Thot/schemas/ExtIndexPPEUS.PRS \
   Thot/schemas/ExtIndexPPEnoref.PRS \
   Thot/schemas/ExtIndexPPEnorefUS.PRS \
   Thot/schemas/ExtIndexPPUS.PRS \
   Thot/schemas/ExtCssP.PRS \
   Thot/schemas/FeuillePI.PRS \
   Thot/schemas/FeuillePIUS.PRS \
   Thot/schemas/FeuillePP.PRS \
   Thot/schemas/FeuillePPUS.PRS \
   Thot/schemas/FichierP.PRS \
   Thot/schemas/LettreP.PRS \
   Thot/schemas/LettrePE.PRS \
   Thot/schemas/LettrePP.PRS \
   Thot/schemas/LettrePP1.PRS \
   Thot/schemas/LettrePP1E.PRS \
   Thot/schemas/LettrePP1EUS.PRS \
   Thot/schemas/LettrePP1US.PRS \
   Thot/schemas/LettrePPE.PRS \
   Thot/schemas/LettrePPEUS.PRS \
   Thot/schemas/LettrePPUS.PRS \
   Thot/schemas/MathP.PRS \
   Thot/schemas/PaletteP.PRS \
   Thot/schemas/ParagrLTP.PRS \
   Thot/schemas/ParagraphP.PRS \
   Thot/schemas/ParagraphPD.PRS \
   Thot/schemas/RapportP.PRS \
   Thot/schemas/RapportPE.PRS \
   Thot/schemas/RapportPP.PRS \
   Thot/schemas/RapportPPB.PRS \
   Thot/schemas/RapportPPBC.PRS \
   Thot/schemas/RapportPPBCUS.PRS \
   Thot/schemas/RapportPPBE.PRS \
   Thot/schemas/RapportPPBEUS.PRS \
   Thot/schemas/RapportPPBUS.PRS \
   Thot/schemas/RapportPPE.PRS \
   Thot/schemas/RapportPPEUS.PRS \
   Thot/schemas/RapportPPR.PRS \
   Thot/schemas/RapportPPRUS.PRS \
   Thot/schemas/RapportPPUS.PRS \
   Thot/schemas/RefBibP.PRS \
   Thot/schemas/RefBibP1.PRS \
   Thot/schemas/RefBibPCle.PRS \
   Thot/schemas/RefBibPE.PRS \
   Thot/schemas/RefBibPE1.PRS \
   Thot/schemas/RefBibPECle.PRS \
   Thot/schemas/TableP.PRS \
   Thot/schemas/TablePS.PRS \
   Thot/schemas/Arbre2A.T \
   Thot/schemas/Arbre2H.T \
   Thot/schemas/Arbre2T.T \
   Thot/schemas/Draw2A.T \
   Thot/schemas/Draw2H.T \
   Thot/schemas/Draw2T.T \
   Thot/schemas/Draw2T1.T \
   Thot/schemas/Draw3A.T \
   Thot/schemas/Draw3H.T \
   Thot/schemas/Draw3T.T \
   Thot/schemas/Draw3T1.T \
   Thot/schemas/ExposeA.T \
   Thot/schemas/ExposeH.T \
   Thot/schemas/ExposeH1.T \
   Thot/schemas/ExtIndexH.T \
   Thot/schemas/FeuilleA.T \
   Thot/schemas/FeuilleH.T \
   Thot/schemas/FichierA.T \
   Thot/schemas/FichierH.T \
   Thot/schemas/FichierT.T \
   Thot/schemas/LettreA.T \
   Thot/schemas/MathH.T \
   Thot/schemas/MathT.T \
   Thot/schemas/ParagraphA.T \
   Thot/schemas/ParagraphH.T \
   Thot/schemas/ParagraphT.T \
   Thot/schemas/ParagraphW.T \
   Thot/schemas/RapportA.T \
   Thot/schemas/RapportH.T \
   Thot/schemas/RapportT.T \
   Thot/schemas/RapportWA.T \
   Thot/schemas/RefBibA.T \
   Thot/schemas/RefBibB.T \
   Thot/schemas/RefBibBH.T \
   Thot/schemas/RefBibH.T \
   Thot/schemas/RefBibT.T \
   Thot/schemas/RefBibT1.T \
   Thot/schemas/RefBibWA.T \
   Thot/schemas/RefBibWM.T \
   Thot/schemas/TableA.T \
   Thot/schemas/TableH.T \
   Thot/schemas/TableT.T \
   Thot/schemas/Arbre2A.TRA \
   Thot/schemas/Arbre2H.TRA \
   Thot/schemas/Arbre2T.TRA \
   Thot/schemas/Draw2A.TRA \
   Thot/schemas/Draw2H.TRA \
   Thot/schemas/Draw2T.TRA \
   Thot/schemas/Draw2T1.TRA \
   Thot/schemas/Draw3A.TRA \
   Thot/schemas/Draw3H.TRA \
   Thot/schemas/Draw3T.TRA \
   Thot/schemas/Draw3T1.TRA \
   Thot/schemas/ExposeA.TRA \
   Thot/schemas/ExposeH.TRA \
   Thot/schemas/ExposeH1.TRA \
   Thot/schemas/ExtIndexH.TRA \
   Thot/schemas/FeuilleA.TRA \
   Thot/schemas/FeuilleH.TRA \
   Thot/schemas/FichierA.TRA \
   Thot/schemas/FichierH.TRA \
   Thot/schemas/FichierT.TRA \
   Thot/schemas/LettreA.TRA \
   Thot/schemas/MathH.TRA \
   Thot/schemas/MathT.TRA \
   Thot/schemas/ParagraphA.TRA \
   Thot/schemas/ParagraphH.TRA \
   Thot/schemas/ParagraphT.TRA \
   Thot/schemas/ParagraphW.TRA \
   Thot/schemas/RapportA.TRA \
   Thot/schemas/RapportH.TRA \
   Thot/schemas/RapportHM.TRA \
   Thot/schemas/RapportT.TRA \
   Thot/schemas/RefBibA.TRA \
   Thot/schemas/RefBibB.TRA \
   Thot/schemas/RefBibBH.TRA \
   Thot/schemas/RefBibH.TRA \
   Thot/schemas/RefBibT.TRA \
   Thot/schemas/RefBibT1.TRA \
   Thot/schemas/RefBibWA.TRA \
   Thot/schemas/RefBibWM.TRA \
   Thot/schemas/TableA.TRA \
   Thot/schemas/TableH.TRA \
   Thot/schemas/TableT.TRA \
   Thot/schemas/Arbre2.conf \
   Thot/schemas/Draw2.conf \
   Thot/schemas/Draw3.conf \
   Thot/schemas/Expose.conf \
   Thot/schemas/ExtIndex.conf \
   Thot/schemas/ExtCss.conf \
   Thot/schemas/Feuille.conf \
   Thot/schemas/Fichier.conf \
   Thot/schemas/Lettre.conf \
   Thot/schemas/Math.conf \
   Thot/schemas/Palette.conf \
   Thot/schemas/Paragraphe.conf \
   Thot/schemas/Rapport.conf \
   Thot/schemas/Table.conf \
   Thot/schemas/Arbre2.fr \
   Thot/schemas/Draw2.fr \
   Thot/schemas/Draw3.fr \
   Thot/schemas/Expose.fr \
   Thot/schemas/ExtIndex.fr \
   Thot/schemas/Feuille.fr \
   Thot/schemas/Fichier.fr \
   Thot/schemas/Lettre.fr \
   Thot/schemas/Math.fr \
   Thot/schemas/Paragraphe.fr \
   Thot/schemas/Rapport.fr \
   Thot/schemas/RefBib.fr \
   Thot/schemas/Table.fr \
   Thot/schemas/Arbre2.en \
   Thot/schemas/Draw2.en \
   Thot/schemas/Draw3.en \
   Thot/schemas/Expose.en \
   Thot/schemas/ExtIndex.en \
   Thot/schemas/Feuille.en \
   Thot/schemas/Fichier.en \
   Thot/schemas/Lettre.en \
   Thot/schemas/Math.en \
   Thot/schemas/Paragraphe.en \
   Thot/schemas/Rapport.en \
   Thot/schemas/RefBib.en \
   Thot/schemas/Table.en \
   Thot/schemas/Paragraphe.trans \
   Thot/schemas/Rapport.trans \
   Thot/schemas/README.trans \
   | $COMPRESS  > $DEST/thoteditor-$MACH-$THOTVERSION.tar.gz
done

