diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2017-04-16 22:49:49 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2017-04-16 22:49:49 +0000 |
commit | 1166c9e571cd523640fc8e6106e2582eab0ad62f (patch) | |
tree | 0af8f1c7b837bd8ccc4a8f4144e2cd88a4f1f9d2 /Master/bin/powerpc-darwin/mkindex | |
parent | 9770bb0474cfd25c1dd2c62d577727443f18f5bd (diff) |
TL 17 pretest binaries for legacy darwin platforms
* Replace universal-darwin by i386-darwin and powerpc-darwin
* Add x86_64-darwinlegacy for 64-bit support for 10.6 and later
now that x86_64-darwin only supports the latest three OS versions
(= 10.10 and later)
Changes:
* pretest binaries from TL 2017 (r43842)
* biber removed
* asy, xindy, dvisvgm copied from TL 2016
* xz 5.2.3
* wget copied from TL 2016
git-svn-id: svn://tug.org/texlive/trunk@43871 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/powerpc-darwin/mkindex')
-rwxr-xr-x | Master/bin/powerpc-darwin/mkindex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/bin/powerpc-darwin/mkindex b/Master/bin/powerpc-darwin/mkindex new file mode 100755 index 00000000000..565f805695d --- /dev/null +++ b/Master/bin/powerpc-darwin/mkindex @@ -0,0 +1,39 @@ +#!/bin/sh + +test -f /bin/sh5 && test -z "$RUNNING_SH5" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; } +unset RUNNING_SH5 + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +progname=`basename $0` +case $# in + 0) + echo "usage: `basename $0` file[.idx] ..." 1>&2 + exit 1 + ;; +esac + +gind=gind.ist +gglo=gglo.ist + +# remember starting directory +dir=`pwd` + +# loop over all files +for i +do + destdir=`echo $i | sed 's/^[^\/]*$/./; s/\/[^\/]*$//'` + test -d "$destdir"||continue + cd "$destdir" + FILENAME=`basename $i .idx` + test -f "$FILENAME".idx \ + && makeindex -s $gind "$FILENAME" + test -f "$FILENAME".glo \ + && makeindex -s $gglo -o "$FILENAME".gls "$FILENAME".glo + cd "$dir" +done |