src/Doc/Codegen/document/build
author wenzelm
Sat, 01 Jun 2019 11:29:59 +0200
changeset 70299 83774d669b51
parent 62589 b5783412bfed
child 73723 1bbbaae6b5e3
permissions -rwxr-xr-x
Added tag Isabelle2019-RC4 for changeset ad2d84c42380

#!/usr/bin/env bash

set -e

FORMAT="$1"
VARIANT="$2"

# ad-hoc patching of temporary path from sources
perl -i -pe 's/\{\\isachardollar\}ISABELLE\{\\isacharunderscore\}TMP\{\\isacharslash\}examples/examples/g' *.tex

isabelle logo Isar
"$ISABELLE_HOME/src/Doc/prepare_document" "$FORMAT"

# clean up afterwards
rm -rf "${ISABELLE_TMP}/examples"