#!/bin/bash -norc## $Id$## build - compile parts of the Isabelle system## argsLOGICS="$*"## settingsPRG=$(basename $0)ISABELLE_HOME=$(dirname $0). $ISABELLE_HOME/lib/scripts/getsettings || \ { echo "$PRG probably not called from its original place!"; exit 2 }## tell the user about current valuesechoecho "Please check $ISABELLE_HOME/etc/settings"[ -f $ISABELLE_HOME_USER/etc/settings ] && echo "AND $ISABELLE_HOME_USER/etc/settings"echo "to make sure that Isabelle's ML system settings are appropriate."echo "Your current values are:"echoecho "ML_SYSTEM=$ML_SYSTEM"echo "ML_HOME=$ML_HOME"echo "ML_OPTIONS=$ML_OPTIONS"## build itLOGICS="Pure $DEFAULT_LOGIC $LOGICS"echoechoecho "Press RETURN to start compilation of: $LOGICS"readexport THIS_IS_ISABELLE_BUILD=truefor DIR in $LOGICSdo ( cd $ISABELLE_HOME/src/$DIR; $ISATOOL make)done