equal
deleted
inserted
replaced
16 |
16 |
17 ISABELLE_DIR="$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd ..; pwd)" |
17 ISABELLE_DIR="$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd ..; pwd)" |
18 |
18 |
19 if [ -d "$ISABELLE_DIR/Distribution" ]; then |
19 if [ -d "$ISABELLE_DIR/Distribution" ]; then |
20 OLD_LAYOUT=true |
20 OLD_LAYOUT=true |
|
21 ISATOOL="$ISABELLE_DIR/Distribution/bin/isatool" |
21 else |
22 else |
22 OLD_LAYOUT=false |
23 OLD_LAYOUT=false |
|
24 ISATOOL="$ISABELLE_DIR/bin/isatool" |
23 fi |
25 fi |
24 |
26 |
25 |
27 |
26 ## diagnostics |
28 ## diagnostics |
27 |
29 |
116 cd "$ISABELLE_DIR/Distribution" |
118 cd "$ISABELLE_DIR/Distribution" |
117 else |
119 else |
118 cd "$ISABELLE_DIR" |
120 cd "$ISABELLE_DIR" |
119 fi |
121 fi |
120 |
122 |
|
123 pushd src/Pure >/dev/null |
|
124 "$ISATOOL" make jar || fail "Failed to build Pure.jar!" |
|
125 popd >/dev/null |
|
126 |
121 pushd lib/classes >/dev/null |
127 pushd lib/classes >/dev/null |
122 ./mk |
128 ./mk |
123 [ -f isabelle.jar ] || fail "Failed to build Isabelle process wrapper!" |
129 [ -f isabelle.jar ] || fail "Failed to build Isabelle process wrapper!" |
124 popd >/dev/null |
130 popd >/dev/null |
125 |
131 |