lib/Tools/makeall
author wenzelm
Wed Nov 22 21:41:39 2000 +0100 (2000-11-22)
changeset 10511 efb3428c9879
parent 9788 df671fa2562a
child 10555 2323ec838401
permissions -rwxr-xr-x
tuned;
     1 #!/bin/bash
     2 #
     3 # $Id$
     4 # Author: Markus Wenzel, TU Muenchen
     5 # License: GPL (GNU GENERAL PUBLIC LICENSE)
     6 #
     7 # DESCRIPTION: apply make utility to all logics
     8 
     9 ## global settings
    10 
    11 ALL_LOGICS="CCL CTT Cube FOL FOLP HOL HOLCF LCF Pure Sequents ZF"
    12 
    13 
    14 ## diagnostics
    15 
    16 PRG="$(basename "$0")"
    17 
    18 function usage()
    19 {
    20   echo
    21   echo "Usage: $PRG [ARGS ...]"
    22   echo
    23   echo "  Apply isatool make to all logics (passing ARGS)."
    24   echo
    25   exit 1
    26 }
    27 
    28 
    29 ## main
    30 
    31 [ "$1" = "-?" ] && usage
    32 
    33 echo "Started at $(date) ($ML_IDENTIFIER on $(hostname))"
    34 
    35 for L in $ALL_LOGICS
    36 do
    37   ( cd "$ISABELLE_HOME/src/$L"; "$ISATOOL" make "$@" )
    38 done
    39 
    40 echo -n "Finished at "; date
    41 
    42 ELAPSED=$("$ISABELLE_HOME/lib/scripts/showtime" "$SECONDS")
    43 echo "$ELAPSED total elapsed time"