| 1 |
#!/bin/sh |
| 2 |
# $1 should be a pathname to the HOL distribution directory |
| 3 |
# $2 = input file.idx |
| 4 |
# $3 = output tex file (e.g. "index.tex") |
| 5 |
arch=`/bin/arch` |
| 6 |
if [ -r $1/Manual/LaTeX/makeindex.bin/$arch/makeindex ] |
| 7 |
then |
| 8 |
exec $1/Manual/LaTeX/makeindex.bin/$arch/makeindex < $2 > $3 |
| 9 |
else |
| 10 |
case $arch in |
| 11 |
mips_ultrix) print="DECStations";; |
| 12 |
sun3*) print="Sun3's";; |
| 13 |
sun4*) print="Sparcs";; |
| 14 |
hp*) print="Bobcats";; |
| 15 |
*) print=$arch;; |
| 16 |
esac |
| 17 |
echo "" |
| 18 |
echo " makeindex is not built for $print." |
| 19 |
echo "" |
| 20 |
fi |