blob: 989a09388f9ce806faaa199dfe0e4fd7a423c87f (
plain)
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
|
#! /bin/csh
# repartition
set w=`whoami`
set OLD=/tmp/$w/OLD
set WCL=/tmp/$w/CL
echo 'Repartition of files into classes'
foreach i ( 0 1 2 3 4 5 6 7 8 9 )
if ( -e ${WCL}$i ) then
\rm -rf ${WCL}$i
endif
if ( -d ${WCL}$i ) then
\rm -rf ${WCL}$i/*
rmdir ${WCL}$i
else
mkdir -p ${WCL}$i
endif
end
# class 0
echo 'Class 0'
cp minitoc.dtx minitoc.ins fminitoc.dtx ${WCL}0
# class 1
echo 'Class 1'
cp minitoc.sty mtcoff.sty mtcmess.sty mtcpatchmem.sty ${WCL}1
cp *.mld *.mlo ${WCL}1
# class 2
echo 'Class 2'
cp INSTALL minitoc.l README catalog TODO ${WCL}2
# class 3
echo 'Class 3'
cp mtc-add.bib ${WCL}3
foreach i ( tex pdf )
cp mtc-bk.$i mtc-art.$i mtc-add.$i mtc-ads.$i ${WCL}3
cp mtc-hi1.$i mtc-hi2.$i mtc-apx.$i mtc-amm.$i mtc-mem.$i mtc-mm1.$i ${WCL}3
cp mtc-fo1.$i mtc-fo2.$i mtc-scr.$i mtc-sbf.$i mtc-tsf.$i mtc-tbi.$i mtc-2c.$i mtc-bo.$i mtc-hop.$i mtc-cri.$i ${WCL}3
cp mtc-liv.$i mtc-ch0.$i mtc-tlc.$i mtc-mu.$i mtc-hir.$i mtc-hia.$i ${WCL}3
cp mtc-gap.$i mtc-2nd.$i mtc-syn.$i ${WCL}3
end
# class 4
echo 'Class 4'
cp minitoc.bug minitoc.sum ${WCL}4
# class 5
echo 'Class 5'
cp minitoc.dtx minitoc.ins minitoc.bib minitoc.ist minitoc.lan en-mtc.bst ${WCL}5
cp lamed.eps lamed.pdf lamed.tex ${WCL}5
# class 6
echo 'Class 6'
cp minitoc.dtx fminitoc.dtx fminitoc.bib fminitoc.ist fminitoc.lan minitoc.pre ${WCL}6
cp franc.sty frbib.sty frnew.sty fr-mtc.bst ${WCL}6
# class 7
echo 'Class 7'
cp minitoc.pdf minitoc.ps ${WCL}7
# class 8
echo 'Class 8'
cp fminitoc.pdf fminitoc.ps ${WCL}8
# class 9
echo 'Class 9'
cp pmk imk emk fmk rmk xmk duplex2v.pro ${WCL}9
# it's all!
echo "Repartition done"
exit
|