16
|
1 |
|
|
2 |
## targets
|
|
3 |
|
24
|
4 |
default: paper
|
|
5 |
all: slides paper
|
16
|
6 |
|
|
7 |
## global settings
|
|
8 |
|
|
9 |
SRC = $(ISABELLE_HOME)/src
|
|
10 |
OUT = $(ISABELLE_OUTPUT)
|
|
11 |
LOG = $(OUT)/log
|
|
12 |
|
|
13 |
|
|
14 |
USEDIR = $(ISABELLE_TOOL) usedir -v true -t true
|
24
|
15 |
|
|
16 |
|
16
|
17 |
## Slides
|
|
18 |
|
24
|
19 |
session1: Slides/ROOT.ML \
|
16
|
20 |
Slides/document/root* \
|
24
|
21 |
Slides/Slides.thy
|
|
22 |
@$(USEDIR) -D generated -f ROOT.ML HOL Slides
|
|
23 |
|
|
24 |
slides: session1
|
|
25 |
rm -f Slides/generated/*.aux # otherwise latex will fall over
|
|
26 |
cd Slides/generated ; $(ISABELLE_TOOL) latex -o pdf root.beamer.tex
|
|
27 |
cp Slides/generated/root.beamer.pdf Slides/slides.pdf
|
|
28 |
|
16
|
29 |
|
24
|
30 |
## Paper
|
16
|
31 |
|
24
|
32 |
session2: Paper/ROOT.ML \
|
|
33 |
Paper/document/root* \
|
|
34 |
Paper/Paper.thy
|
|
35 |
@$(USEDIR) -D generated -f ROOT.ML HOL Paper
|
|
36 |
|
|
37 |
paper: session2
|
|
38 |
rm -f Paper/generated/*.aux # otherwise latex will fall over
|
|
39 |
cd Paper/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex
|
|
40 |
cp Paper/generated/root.pdf Paper/paper.pdf
|
16
|
41 |
|
|
42 |
|
|
43 |
## clean
|
|
44 |
|
|
45 |
clean:
|
24
|
46 |
rm -rf Slides/generated/*
|
|
47 |
rm -rf Paper/generated/*
|