Admin/make_everything
author paulson
Tue, 10 Feb 2004 12:02:11 +0100
changeset 14378 69c4d5997669
parent 12721 226fc0e2e7e3
child 16301 f9f2e1643593
permissions -rwxr-xr-x
generic of_nat and of_int functions, and generalization of iszero and neg

#!/usr/bin/env bash
#
# $Id$
#
# make_everything -- an adhoc script that demonstrates the general procedure
#   of creating the Isabelle distribution and WWW page
#
# assumptions:
#   - proper settings for polyml are present by magic
#     (e.g. via ~/isabelle/etc/settings)
#   - ~/tmp/isadist/contrib holds packages of external tools (polyml etc.)
#

date

REPOS=~/isabelle/src
DIST=~/tmp/isadist

$REPOS/Admin/makedist ${1:---}
ISABELLE_DIST=$(cat $DIST/ISABELLE_DIST)

case $(hostname) in
  *broy*)
    #Note: this causes strange behaviour with "nohup" -- better use "screen"
    ssh sunbroy1 ". ~/.bashrc; $REPOS/Admin/makebin $ISABELLE_DIST"
    ssh atbroy37 ". ~/.bashrc; $REPOS/Admin/makebin $ISABELLE_DIST"
    ;;
  *)
    $REPOS/Admin/makebin $ISABELLE_DIST
    ;;
esac

cd $(dirname "$ISABELLE_DIST")
cp -a ../contrib .

cd page && make
cd .. && rm -rf page

date