-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
40 lines (31 loc) · 851 Bytes
/
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
32
33
34
35
36
37
38
39
40
NAME = ABL_with_partial_repayments
PROSE_NAME = ABL-spec-prose
all: prose
check: build/metadir
java -jar ${TLATOOLSDIR}/tla2tools.jar \
-config ${NAME}.cfg \
-workers 1 \
-metadir build/metadir \
-terse \
-cleanup \
-deadlock \
MC.tla
pdf: build/metadir
java -cp ${TLATOOLSDIR}/tla2tools.jar tla2tex.TLA \
-metadir build/metadir \
-latexOutputExt pdf \
-latexCommand pdflatex \
-ptSize 12 \
-shade \
${NAME}.tla
prose: build/${PROSE_NAME}.html
build/${PROSE_NAME}.html: ${PROSE_NAME}.rst build
rst2html5.py --footnote-references=superscript --math-output="MathJax ${MATHJAX_URL}" ${PROSE_NAME}.rst > build/${PROSE_NAME}.html
clean:
rm -rf build
build:
mkdir -p build
ln -s ../images/ build/images
build/metadir:
mkdir -p build/metadir
.PHONY: all check pdf prose clean