diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/pmk')
-rwxr-xr-x | Master/texmf-dist/doc/latex/minitoc/pmk | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/pmk b/Master/texmf-dist/doc/latex/minitoc/pmk index e509e76c56a..c5441ee121f 100755 --- a/Master/texmf-dist/doc/latex/minitoc/pmk +++ b/Master/texmf-dist/doc/latex/minitoc/pmk @@ -173,19 +173,22 @@ foreach i ( 0 1 2 3 4 5 6 7 8 9 ) \rm -rf ${WCL}$i/* rmdir ${WCL}$i else - mkdir -p ${WCL}$i + mkdir -m 755 -p ${WCL}$i endif end # class 0 echo 'Class 0' cp minitoc.dtx minitoc.ins fminitoc.dtx ${WCL}0 +chmod 644 ${WCL}0/* # class 1 echo 'Class 1' cp minitoc.sty mtcoff.sty mtcmess.sty mtcpatchmem.sty ${WCL}1 cp *.mld *.mlo ${WCL}1 +chmod 644 ${WCL}1/* # class 2 echo 'Class 2' -cp INSTALL minitoc.l README catalog TODO ${WCL}2 +cp INSTALL minitoc.l README CATALOG TODO ${WCL}2 +chmod 644 ${WCL}2/* # class 3 echo 'Class 3' cp mtc-add.bib ${WCL}3 @@ -198,26 +201,33 @@ foreach i ( tex pdf ) cp $j.$i ${WCL}3 end end +chmod 644 ${WCL}3/* # class 4 echo 'Class 4' cp minitoc.bug minitoc.sum ${WCL}4 +chmod 644 ${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 +chmod 644 ${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 +chmod 644 ${WCL}6/* # class 7 echo 'Class 7' cp minitoc.pdf minitoc.ps ${WCL}7 +chmod 644 ${WCL}7/* # class 8 echo 'Class 8' cp fminitoc.pdf fminitoc.ps ${WCL}8 +chmod 644 ${WCL}8/* # class 9 echo 'Class 9' cp pmk imk emk fmk rmk tmk xmk duplex2v.pro ${WCL}9 +chmod 744 ${WCL}9/* # Cleaning echo "Cleaning" if ( -f minitoc.maf ) then @@ -231,7 +241,7 @@ set UN=`whoami`.tmk set RD=/tmp/$UN if ( -d $RD ) then else - mkdir $RD + mkdir -m 755 $RD endif set TEXMFDIR=texmf set TEXMF=$RD/$TEXMFDIR @@ -246,13 +256,13 @@ else endif if ( -d $TEXMF/bibtex/bib ) then else - mkdir $TEXMF/bibtex/bib + mkdir -m 755 $TEXMF/bibtex/bib endif if ( -d $TEXMF/bibtex/bib/minitoc ) then \rm -rf $TEXMF/bibtex/bib/minitoc endif mkdir -m 755 $TEXMF/bibtex/bib/minitoc -foreach i ( fminitoc.bib minitoc.bib mtc-add.bib ) +foreach i ( fminitoc.bib minitoc.bib ) cp $i $TEXMF/bibtex/bib/minitoc chmod 744 $TEXMF/bibtex/bib/minitoc/$i end @@ -260,7 +270,7 @@ end echo "BST files" if ( -d $TEXMF/bibtex/bst ) then else - mkdir $TEXMF/bibtex/bst + mkdir -m 755 $TEXMF/bibtex/bst endif if ( -d $TEXMF/bibtex/bst/minitoc ) then \rm -rf $TEXMF/bibtex/bst/minitoc @@ -560,7 +570,7 @@ foreach i ( \ INSTALL \ README \ TODO \ -catalog \ +CATALOG \ fminitoc.lan \ fminitoc.pdf \ lamed.eps \ @@ -575,12 +585,19 @@ minitoc.sum \ franc.sty \ frbib.sty \ frnew.sty \ +) + cp $i $TEXMF/doc/latex/minitoc +end +echo "EXAMPLE files" +mkdir -m 755 $TEXMF/bibtex/bib/minitoc/examples +foreach i ( \ mtc-2c.pdf \ mtc-2c.tex \ mtc-2nd.pdf \ mtc-2nd.tex \ mtc-add.pdf \ mtc-add.tex \ +mtc-add.bib \ mtc-ads.pdf \ mtc-ads.tex \ mtc-amm.pdf \ @@ -634,7 +651,7 @@ mtc-tlc.tex \ mtc-tsf.pdf \ mtc-tsf.tex \ ) - cp $i $TEXMF/doc/latex/minitoc + cp $i $TEXMF/doc/latex/minitoc/examples end # echo "SOURCE files" |