diff options
author | Karl Berry <karl@freefriends.org> | 2006-07-21 23:50:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-07-21 23:50:03 +0000 |
commit | 6205fe4cf94df0a8693755ae920874a8c7b9e959 (patch) | |
tree | b9bb7f5c0bd37d8fe34aa6dbd377a571dbb3b823 /Master/texmf-dist/doc/latex/minitoc/rmk | |
parent | c3ea4d2926cc433f86635f1d9d122be96311c55f (diff) |
minitoc 46 update (20jul06)
git-svn-id: svn://tug.org/texlive/trunk@1892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/rmk')
-rwxr-xr-x | Master/texmf-dist/doc/latex/minitoc/rmk | 49 |
1 files changed, 29 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/rmk b/Master/texmf-dist/doc/latex/minitoc/rmk index 7caeb063ce4..803f68d35a7 100755 --- a/Master/texmf-dist/doc/latex/minitoc/rmk +++ b/Master/texmf-dist/doc/latex/minitoc/rmk @@ -1,51 +1,60 @@ #! /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 CL$i ) then - \rm -rf CL$i + if ( -e ${WCL}$i ) then + \rm -rf ${WCL}$i endif - if ( -d CL$i ) then - \rm -rf CL$i/* - rmdir CL$i + if ( -d ${WCL}$i ) then + \rm -rf ${WCL}$i/* + rmdir ${WCL}$i else - mkdir CL$i + mkdir -p ${WCL}$i endif end # class 0 echo 'Class 0' -cp minitoc.dtx minitoc.ins fminitoc.dtx CL0 +cp minitoc.dtx minitoc.ins fminitoc.dtx ${WCL}0 # class 1 echo 'Class 1' -cp minitoc.sty mtcoff.sty mtcmess.sty mtcpatchmem.sty CL1 -cp *.mld *.mlo CL1 +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 CL2 +cp INSTALL minitoc.l README catalog TODO ${WCL}2 # class 3 echo 'Class 3' -cp minitoc-ex.tex mini-art.tex add.tex addsec.tex add.bib CL3 -cp hide1.tex hide2.tex apx.tex gaps.tex CL3 +cp add.bib ${WCL}3 +foreach i ( tex pdf ) + cp minitoc-ex.$i mini-art.$i add.$i addsec.$i ${WCL}3 + cp hide1.$i hide2.$i apx.$i app-mem.$i mem.$i mem1.$i ${WCL}3 + cp fo1.$i fo2.$i scr.$i subf.$i tsfc.$i tbi.$i 2c.$i bo.$i hop.$i cri.$i ${WCL}3 + cp livre.$i ch0.$i tlc.$i mu.$i hir.$i hia.$i ${WCL}3 + cp gaps.$i second.$i ${WCL}3 +end # class 4 echo 'Class 4' -cp minitoc.bug minitoc.sum CL4 +cp minitoc.bug minitoc.sum ${WCL}4 # class 5 echo 'Class 5' -cp minitoc.dtx minitoc.ins minitoc.bib minitoc.ist minitoc.lan plainurl.bst CL5 -cp lamed.eps lamed.pdf lamed.tex CL5 +cp minitoc.dtx minitoc.ins minitoc.bib minitoc.ist minitoc.lan plainurl.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 CL6 -cp franc.sty frbib.sty frnew.sty frplain1.bst CL6 +cp minitoc.dtx fminitoc.dtx fminitoc.bib fminitoc.ist fminitoc.lan minitoc.pre ${WCL}6 +cp franc.sty frbib.sty frnew.sty frplain1.bst ${WCL}6 # class 7 echo 'Class 7' -cp minitoc.pdf minitoc.ps CL7 +cp minitoc.pdf minitoc.ps ${WCL}7 # class 8 echo 'Class 8' -cp fminitoc.pdf fminitoc.ps CL8 +cp fminitoc.pdf fminitoc.ps ${WCL}8 # class 9 echo 'Class 9' -cp pmk imk emk fmk rmk duplex2v.pro CL9 +cp pmk imk emk fmk rmk xmk duplex2v.pro ${WCL}9 # it's all! echo "Repartition done" exit |