#!/bin/sh
#
# Installation file for SnapPeaC.s?. Requires the file Makefile.pre.in
# (which is included in the distribution of python 1.5).
#
# Peter Brinkmann (brinkman@math.utah.edu), 02/12/2000
# $Id: inst,v 1.5 2000-02-17 17:39:05-07 brinkman Exp brinkman $

if [ -f Makefile.pre.in ]
then
        echo '***********************************************************'
        echo '* This is going to take a few minutes. Please be patient. *'
        echo '***********************************************************'

        rm -f SnapPeaC.s?
        make -f Makefile.pre.in boot
        make

        if [ -f SnapPeaC.s? ]
        then
                mv SnapPeaC.s? SnapPeaPython
                make distclean

                echo '*******************************************************'
                echo '* Done! You can find the library "SnapPeaC.s?" in the *'
                echo '* directory "SnapPeaPython".                          *'
                echo '*******************************************************'
        else
                make distclean

                echo '******************************************'
                echo '* Oops! Something went terribly wrong... *'
                echo '******************************************'
        fi
else
        echo '**************************************************************'
        echo '* Please choose the appropriate file from the list below and *'
        echo '* copy it into this directory.                               *'
        echo '**************************************************************'
        locate config/Makefile.pre.in
fi
