| 1 |
#! /bin/sh -vx |
| 2 |
# Copyright 2017 Karl Berry <[email protected]> |
| 3 |
# Copyright 2009-2012 Peter Breitenlohner <[email protected]> |
| 4 |
# You may freely use, modify and/or distribute this file. |
| 5 |
|
| 6 |
BinDir=${BinDir:-.} |
| 7 |
ExeExt=${ExeExt:-} |
| 8 |
_mpost=$BinDir/mpost$ExeExt |
| 9 |
|
| 10 |
test -d tests || mkdir -p tests |
| 11 |
|
| 12 |
if tfmpath=`$KPSEWHICH cmbx10.tfm`; then |
| 13 |
|
| 14 |
TEXMFCNF=$srcdir/../kpathsea \ |
| 15 |
TFMFONTS=`dirname "$tfmpath"` \ |
| 16 |
$_mpost --dvitomp $srcdir/tests/story.dvi tests/xstory.mpx || exit 1 |
| 17 |
|
| 18 |
fi |
| 19 |
|
| 20 |
TEXMFCNF=$srcdir/../kpathsea \ |
| 21 |
TFMFONTS=$srcdir/tests \ |
| 22 |
VFFONTS=$srcdir/tests: \ |
| 23 |
$_mpost --dvitomp $srcdir/tests/ptmr ptmr.mpx && \ |
| 24 |
mv ptmr.mpx tests/xptmr.mpx || exit 1 |
| 25 |
|