#2.1 90/07/18
if [ $# != 0 ]
then
    dontdelete=1
fi
if [ -f utils/hpinterp ]
then
    hpinterp=`pwd`/utils/hpinterp
else
    hpinterp=%%LIBDIR%%/hpinterp
fi

if [ -f utils/pk2ps ]
then
    pk2ps=`pwd`/utils/pk2ps
else
    pk2ps=%%LIBDIR%%/pk2ps
fi

td=/tmp/$$
(
    mkdir $td
    cd $td
    mkdir FONTS
    $hpinterp -p > postscript
    rm FONTS/*.desc
    $pk2ps -f FONTS/* > fonts
    cat fonts postscript
    echo "\004"
)
if [ -z "$dontdelete" ]
then
    rm -fr $td
fi
