-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (29 loc) · 1.88 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ISABELLE=~/.local/bin/Isabelle2020/bin/isabelle
ISABELLE=/usr/local/bin/isabelle2020
browser_info:
# rm -fr src/ROOT
# cd src && isabelle mkroot .
# sed -i -e 's/src/Operational_SoundComplete/g' src/ROOT
# sed -i -e 's/(\* Baz \*)/Operational_SoundComplete/g' src/ROOT
# sed -i -e 's/+/\
# + description {* Denotational and operational semantics for TESL *}/g' src/ROOT
cd src && $(ISABELLE) build -c -d . -o browser_info -v TESL_Theory
mv "`$(ISABELLE) getenv -b ISABELLE_BROWSER_INFO`/Unsorted/TESL_Theory" .
cp docs/FirstExample.png TESL_Theory/
rm -fr docs
mv TESL_Theory docs
sed -i -e 's/Session/Library/g' docs/index.html
sed -i -e 's/<h2>Theories<\/h2>/<h2><a href="session_graph.pdf">Index<\/a><\/h2>/g' docs/index.html
sed -i -e 's/<p>View <a href="session_graph.pdf">theory dependencies<\/a><\/p>/<p>Denotational and operational semantics for the <a href="http:\/\/wdi.supelec.fr\/software\/TESL\/">Tagged Events Specification Language<\/a>.<\/p>\
<p>Check out root theory <a href="Operational_SoundComplete.html">Operational_SoundComplete<\/a> for soundness, completeness, progress and termination properties, and <a href="Stuttering.html">Stuttering<\/a> for stuttering properties.<\/p>/g' docs/index.html
sed -i -e 's/<\/body>/<p>Copyright (c) 2017-2020 T. Balabonski, F. Boulanger, C. Keller, H. Nguyen Van, B. Valiron, B. Wolff, CentraleSupélec \/ Université Paris-Saclay \/ CNRS<\/p>\
<\/body>/g' docs/index.html
sed -i -e 's/..\/..\/HOL\/HOL\//http:\/\/isabelle.in.tum.de\/website-Isabelle2020\/dist\/library\/HOL\/HOL\//g' docs/TESL.html
pdf_document:
# rm -fr src/ROOT src/document
# cd src && $ISABELLE mkroot -d .
# sed -i -e 's/src/Operational_SoundComplete/g' src/ROOT
# sed -i -e 's/(\* Baz \*)/Operational_SoundComplete/g' src/ROOT
# sed -i -e 's/+/\
# + description {* Denotational and operational semantics for TESL *}/g' src/ROOT
cd src && $(ISABELLE) build -D .