13202
|
1 |
|
|
2 |
## targets
|
|
3 |
|
|
4 |
default: Tutorial
|
|
5 |
images:
|
|
6 |
test: Tutorial
|
|
7 |
|
|
8 |
all: images test
|
|
9 |
|
|
10 |
|
|
11 |
## global settings
|
|
12 |
|
|
13 |
SRC = $(ISABELLE_HOME)/src
|
|
14 |
OUT = $(ISABELLE_OUTPUT)
|
|
15 |
LOG = $(OUT)/log
|
|
16 |
USEDIR = $(ISATOOL) usedir -i true -d "" -D ../generated
|
|
17 |
|
|
18 |
|
|
19 |
## Tutorial
|
|
20 |
|
|
21 |
Tutorial: HOL $(LOG)/HOL-Tutorial.gz
|
|
22 |
|
|
23 |
HOL:
|
|
24 |
@cd $(SRC)/HOL; $(ISATOOL) make HOL
|
|
25 |
|
|
26 |
$(LOG)/HOL-Tutorial.gz: $(OUT)/HOL Tutorial/ROOT.ML Tutorial/Tutorial.thy
|
|
27 |
@$(USEDIR) $(OUT)/HOL Tutorial
|
|
28 |
@rm -f generated/pdfsetup.sty generated/session.tex
|
|
29 |
|
|
30 |
|
|
31 |
## clean
|
|
32 |
|
|
33 |
clean:
|
|
34 |
@rm -f $(LOG)/HOL-Tutorial.gz
|