File: mktar

package info (click to toggle)
tralics 2.14.4-2
  • links: PTS
  • area: main
  • in suites: bullseye, jessie-kfreebsd, sid, stretch, wheezy
  • size: 17,152 kB
  • ctags: 8,260
  • sloc: cpp: 49,403; xml: 18,145; sh: 140; makefile: 118
file content (135 lines) | stat: -rwxr-xr-x 4,721 bytes parent folder | download
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135

#!/bin/bash
#set -x

VERSION=2.14.4
TRALICS=tralics-$VERSION
TRALICSSRC=tralics-src-$VERSION

SRC="readline.C  txaux.C  txbuffer.C txmath.C  txpost.C txtoken.C tralics.C\
    txbib.C  txerr.C txparser.C  txstack.C  txtranslate.C  txmain.C\
    txfp.C txfonts.C txscan.C   txtitlepage.C  txcommands.C txarray.C \
    txmathboot.C txatt.C txio.C txmath1.C txaccent.C txtrees.C txclasses.C\
    txtoken1.C txtoken2.C txparser2.C txparser3.C txmlio.C txconfig.C txra.C"

INCL="txmath1.h tralics.h txbib.h  txvars.h txinline.h \
    txtitlepage.h txparser.h txtoken.h txfonts.h txlogger.h txmath.h\
    txbuffer.h txstack.h txstring.h tximage.h txscaled.h txid.h txeqtb.h \
    txfp.h txio.h txstats.h txpost.h txcond.h txatt.h txconst.h txchars.h \
    txpath.h txtrees.h txcmd.h txparser2.h \
    txhash.h txxml.h txtokenlist.h txarray.h txparam.h txclasses.h  txmlio.h"

CONFS="config_empty test.tcf cedram.tcf eurotex.tcf unused.tcf testa.tcf \
    tpa.tcf hello.tcf torture.tcf hello1.tcf hello3.tcf tralics_rc  \
    .tralics_rc gescap.tcf README tp.tcf RR.tcf \
    rabib.tcf ra.tcf test0.tcf ra2007.tcf ra2008.tcf ra2009.tcf  "

CLASSES="book.clt std.clt article.clt report.clt tralics-iso.plt \
  alltt.plt graphpap.plt  RR.plt cgloss4e.plt  ifthen.plt shortvrb.plt \
  fancyvrb.plt inputenc.plt showidx.plt fix-cm.plt latexsym.plt syntonly.plt \
  fixltx2e.plt makeidx.plt textcomp.plt flafter.plt natbib.plt tracefnt.plt \
  fontenc.plt newlfont.plt tralics-iso.plt gb4e.plt oldlfont.plt mml.plt \
  mml.sty   eufrak.plt eucal.plt \
  amsbsy.plt amsfonts.plt amsmath.plt amssymb.plt amsthm.plt \
  amscd.plt amsgen.plt amsopn.plt amstext.plt amsxtra.plt \
  upref.plt delarray.plt textcase.plt braket.plt html.plt\
  abstract.plt ae.plt aecompl.plt aeguill.plt checkend.plt etex.plt\
  suffix.plt lipsum.plt tloop.plt bbding.plt xkeyval.plt latex.plt minimal.clt \
  overword.plt comma.plt nopageno.plt subfigure.plt amsmidx.plt fp.plt\
  index.plt keyval.plt remreset.plt titlepage.plt \
  maple2e.plt mapleenv.plt mapleplots.plt maplestyle.plt mapletab.plt \
  mapleutil.plt coolstr.plt coollist.plt curves.plt datenumber.plt \
  decimal.plt tipa.plt tipx.plt calc.plt ra.plt ra2003.clt ra2004.clt \
  ra2005.clt ra2006.clt ra2007.clt ra2008.clt ra2009.clt amsart.clt soul.plt \
  kvoptions.plt ifpdf.plt esdiff.plt fixfoot.plt fixme.plt \
  epigraph.plt color.plt graphics.plt graphicx.plt fancybox.plt\
  forloop.plt float.plt listings.plt hyperref.plt fancyhdr.plt"


TEST="README torture.tex torture.bib tortureaux.tex \
  tormath.tex tormath1.tex fptest.tex lxdoc.tex taux1.tex taux2.tex tpa.tex \
  hello.tex hello1.tex hello2.tex hello3.tex xhello.tex bo.tex bo.bib bi.bib\
  tralics.bib txtc.tex tpa2.tex tralics-ex1.tex tralics-ex2.tex mathmlc.tex\
  testhtml.tex dummy.txt alltests testb.tex txtd.tex testmath.tex testmath.ult\
  testclass.tex txerr.tex testkeyval.tex xii.tex comp_pi.tex teststr.tex 
  testerr.tex tormath2.tex tptest.tex testb1.tex exemple2007.tex\
  exemple2003.tex exemple2005.tex exemple2006.tex  exemple2008.tex\
  exemple2009.tex ex_emple2008.tex beauvilams2.tex beauville.bib testpack.tex\
  testpackii.tex tormath3.tex amsldoc.tex testbe.tex"

OTHERFILES="etc/LISEZMOI etc/COPYING etc/ChangeLog  etc/README etc/Copyright \
  mktar \
  etc/Licence_CeCILL_V2-en.txt etc/Licence_CeCILL_V2-fr.txt"

MODELE="hello.xml hello1.xml hello2.xml hello1-no.xml txtc.xml\
   hello3.xml fptest.xml testb.xml txtc.xml txtd.xml tpa.xml tormath.xml\
   tormath1.xml bo.xml torture.xml testhtml.xml testclass.xml txerr.xml \
   testkeyval.xml xii.xml comp_pi.xml teststr.xml testerr.xml tormath2.xml \
   tpa2.xml testb0.xml testb1.xml exemple2007.xml exemple2008.xml \
   exemple2003.xml exemple2005.xml exemple2006.xml  ex_emple2008.xml\
   exemple2009.xml beauvilams2.xml tpa2x.xml testpack.xml testpackii.xml\
   tormath3.xml amsldoc.xml testbe.xml testmath.xml"



DIR=tmp/$TRALICS

rm -rf $DIR
mkdir $DIR
mkdir $DIR/src
mkdir $DIR/confdir
mkdir $DIR/Test
mkdir $DIR/Modele


for f in $SRC $INCL  Makefile README 
do
    cp -p src/$f $DIR/src
done


for f in $CONFS $CLASSES
do
    cp -p confdir/$f $DIR/confdir
done



for f in $TEST
do
    cp -p Test/$f $DIR/Test
done

for f in $MODELE
do
    cp -p Modele/$f $DIR/Modele
done


for f in $OTHERFILES
do
    cp -p $f $DIR
done


### debug....
## cp -p -r CR $DIR

ln -s xhello.tex $DIR/Test/hello2003.tex
ln -s xhello.tex $DIR/Test/hello2004.tex
ln -s xhello.tex $DIR/Test/hello2006.tex
cp etc/Copyright $DIR/src
ln -s README $DIR/confdir/COPYING
cp -p confdir/tralics.sty $DIR/Test

cd tmp



rm $TRALICSSRC.tar.gz
tar cvhf  $TRALICSSRC.tar $TRALICS

gzip  $TRALICSSRC.tar
echo "cp  tmp/$TRALICSSRC.tar.gz /proj/apics/ftp/tralics-src"