lib/Tools/make
author blanchet
Thu, 27 Dec 2012 12:43:41 +0100
changeset 50622 512dfe5e077f
parent 29143 72c960b2b83e
permissions -rwxr-xr-x
merged
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10555
2323ec838401 /usr/bin/env bash;
wenzelm
parents: 10511
diff changeset
     1
#!/usr/bin/env bash
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     2
#
9788
wenzelm
parents: 7795
diff changeset
     3
# Author: Markus Wenzel, TU Muenchen
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     4
#
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     5
# DESCRIPTION: Isabelle make utility
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     6
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     7
10511
wenzelm
parents: 9788
diff changeset
     8
PRG="$(basename "$0")"
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
     9
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    10
function usage()
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    11
{
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    12
  echo
28650
a7ba12e0d3b7 tuned usage line;
wenzelm
parents: 14981
diff changeset
    13
  echo "Usage: isabelle $PRG [ARGS ...]"
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    14
  echo
7795
111d2a65e1c6 tuned usage;
wenzelm
parents: 3007
diff changeset
    15
  echo "  Compile the logic in current directory using IsaMakefile."
2437
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    16
  echo "  ARGS are directly passed to the system make program."
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    17
  echo
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    18
  exit 1
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    19
}
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    20
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    21
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    22
## main
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    23
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    24
[ "$1" = "-?" ] && usage
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    25
63249c1c544a Isabelle make utility;
wenzelm
parents:
diff changeset
    26
exec make -f IsaMakefile "$@"