src/Doc/Codegen/document/build
author hoelzl
Mon, 13 Apr 2015 12:15:29 +0200
changeset 60045 cd2b6debac18
parent 59376 ead400fd6484
child 62589 b5783412bfed
permissions -rwxr-xr-x
predicate compiler: ignore Abs_filter and Rep_filter

#!/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_TOOL" logo Isar
"$ISABELLE_HOME/src/Doc/prepare_document" "$FORMAT"

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