author | urbanc |
Mon, 20 Feb 2012 11:02:50 +0000 | |
changeset 333 | 813e7257c7c3 |
parent 258 | 1abf8586ee6b |
child 334 | d47c2143ab8a |
permissions | -rw-r--r-- |
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 |
||
333 | 17 |
## Slides 1 |
16 | 18 |
|
24 | 19 |
session1: Slides/ROOT.ML \ |
16 | 20 |
Slides/document/root* \ |
24 | 21 |
Slides/Slides.thy |
203 | 22 |
@$(USEDIR) -D generated -f ROOT.ML HOL Slides |
24 | 23 |
|
333 | 24 |
slides1: session1 |
24 | 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 |
||
333 | 29 |
## Slides 2 |
203 | 30 |
|
333 | 31 |
session2: Slides/ROOT.ML \ |
203 | 32 |
Slides/document/root* \ |
33 |
Slides/Slides1.thy |
|
34 |
@$(USEDIR) -D generated -f ROOT1.ML HOL Slides |
|
35 |
||
333 | 36 |
slides2: session2 |
203 | 37 |
rm -f Slides/generated/*.aux # otherwise latex will fall over |
38 |
cd Slides/generated ; $(ISABELLE_TOOL) latex -o pdf root.beamer.tex |
|
39 |
cp Slides/generated/root.beamer.pdf Slides/slides1.pdf |
|
40 |
||
333 | 41 |
## Slides 3 |
258 | 42 |
|
333 | 43 |
session3: Slides/ROOT.ML \ |
258 | 44 |
Slides/document/root* \ |
45 |
Slides/Slides2.thy |
|
46 |
@$(USEDIR) -D generated -f ROOT2.ML HOL Slides |
|
47 |
||
333 | 48 |
slides3: session3 |
258 | 49 |
rm -f Slides/generated/*.aux # otherwise latex will fall over |
50 |
cd Slides/generated ; $(ISABELLE_TOOL) latex -o pdf root.beamer.tex |
|
51 |
cp Slides/generated/root.beamer.pdf Slides/slides2.pdf |
|
16 | 52 |
|
53 |
||
333 | 54 |
slides: slides1 slides2 slides3 |
72 | 55 |
|
16 | 56 |
|
36
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
57 |
## ITP paper |
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
58 |
|
333 | 59 |
session_itp: Paper/ROOT.ML \ |
36
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
60 |
Paper/document/root* \ |
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
61 |
Paper/*.thy |
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
62 |
@$(USEDIR) -D generated -f ROOT.ML HOL Paper |
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
63 |
|
333 | 64 |
itp: session_itp |
36
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
65 |
rm -f Paper/generated/*.aux # otherwise latex will fall over |
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
66 |
cd Paper/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex |
66 | 67 |
cd Paper/generated ; bibtex root |
36
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
68 |
cd Paper/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex |
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
69 |
cp Paper/generated/root.pdf paper.pdf |
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
70 |
|
162
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
71 |
## Journal Version |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
72 |
|
333 | 73 |
session_journal: Journal/ROOT.ML \ |
162
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
74 |
Journal/document/root* \ |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
75 |
Journal/*.thy |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
76 |
@$(USEDIR) -D generated -f ROOT.ML HOL Journal |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
77 |
|
333 | 78 |
journal: session_journal |
162
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
79 |
rm -f Journal/generated/*.aux # otherwise latex will fall over |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
80 |
cd Journal/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
81 |
cd Journal/generated ; bibtex root |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
82 |
cd Journal/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
83 |
cp Journal/generated/root.pdf journal.pdf |
e93760534354
added directory for journal version; took uptodate version of the theory files
urbanc
parents:
72
diff
changeset
|
84 |
|
36
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
wu
parents:
31
diff
changeset
|
85 |
|
16 | 86 |
## clean |
87 |
||
88 |
clean: |
|
333 | 89 |
rm -rf Slides/generated* |
90 |
rm -rf Paper/generated* |
|
91 |
rm -rf Journal/generated* |