Admin/reallymakeall
author obua
Fri, 16 Sep 2005 21:02:15 +0200
changeset 17440 df77edc4f5d0
parent 9522 bf459ea9a523
permissions -rwxr-xr-x
fixed HOL-light/Isabelle syntax incompatability via more protect_xxx functions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9522
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     1
#/!bin/bash
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     2
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     3
ISATOOL=${ISATOOL:-isatool}
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     4
type -p "$ISATOOL" >/dev/null || { echo "isatool not found!" >&2; exit 2; }
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     5
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     6
for FILE in $(find . -name IsaMakefile -print)
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     7
do
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     8
  DIR=$(dirname "$FILE")
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
     9
  echo "Entering $DIR ..."
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
    10
  ( cd "$DIR"; $ISATOOL make "$@"; )
bf459ea9a523 invoke isatool make in any dir containing an IsaMakefile;
wenzelm
parents:
diff changeset
    11
done