diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/tmk')
-rwxr-xr-x | Master/texmf-dist/doc/latex/minitoc/tmk | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/tmk b/Master/texmf-dist/doc/latex/minitoc/tmk index add05df5c3a..21eac08f808 100755 --- a/Master/texmf-dist/doc/latex/minitoc/tmk +++ b/Master/texmf-dist/doc/latex/minitoc/tmk @@ -5,7 +5,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 @@ -20,13 +20,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 @@ -34,7 +34,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 @@ -334,7 +334,7 @@ foreach i ( \ INSTALL \ README \ TODO \ -catalog \ +CATALOG \ fminitoc.lan \ fminitoc.pdf \ lamed.eps \ @@ -349,12 +349,19 @@ minitoc.sum \ franc.sty \ frbib.sty \ frnew.sty \ +) + cp $i $TEXMF/doc/latex/minitoc +end +echo "EXAMPLE files" +mkdir -m 755 $TEXMF/doc/latex/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 \ @@ -408,7 +415,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" |