lib/Tools/makeall
author wenzelm
Fri, 13 Mar 1998 18:15:14 +0100
changeset 4744 4469d498cd48
parent 4456 44e57a6d947d
child 7277 bb9502f9154a
permissions -rwxr-xr-x
moved addsplits [expand_if] from HOL_basic_ss to HOL_ss;

#!/bin/bash
#
# $Id$
#
# DESCRIPTION: apply make utility to all logics

## global settings

ALL_LOGICS="CCL CTT Cube FOL FOLP HOL HOLCF LCF Pure Sequents ZF"


## diagnostics

PRG=$(basename $0)

function usage()
{
  echo
  echo "Usage: $PRG [ARGS ...]"
  echo
  echo "  Apply isatool make to all logics (passing ARGS)."
  echo
  exit 1
}


## main

[ "$1" = "-?" ] && usage


SECONDS=0
echo -n "Started at "; date

for L in $ALL_LOGICS
do
  ( cd $ISABELLE_HOME/src/$L; $ISATOOL make "$@" )
done

echo -n "Finished at "; date

ELAPSED=$($ISABELLE_HOME/lib/scripts/showtime $SECONDS)
echo "$ELAPSED total elapsed time"