Admin/lib/Tools/build_doc
author wenzelm
Sat, 27 Feb 2016 16:52:30 +0100
changeset 62435 2c390ad93bc8
parent 61135 8f7d802b7a71
child 62589 b5783412bfed
permissions -rwxr-xr-x
moved getopts to Scala;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: build Isabelle documentation

isabelle_admin_build jars || exit $?


case "$ISABELLE_JAVA_PLATFORM" in
  x86-*)
    ISABELLE_BUILD_JAVA_OPTIONS="$ISABELLE_BUILD_JAVA_OPTIONS32"
    ;;
  x86_64-*)
    ISABELLE_BUILD_JAVA_OPTIONS="$ISABELLE_BUILD_JAVA_OPTIONS64"
    ;;
esac

declare -a JAVA_ARGS; eval "JAVA_ARGS=($ISABELLE_BUILD_JAVA_OPTIONS)"

"$ISABELLE_TOOL" java "${JAVA_ARGS[@]}" isabelle.Build_Doc "$@"