| author | urbanc | 
| Mon, 13 Feb 2012 10:44:42 +0000 | |
| changeset 310 | 4d93486cb302 | 
| parent 258 | 1abf8586ee6b | 
| child 333 | 813e7257c7c3 | 
| 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 | ||
| 16 | 17 | ## Slides | 
| 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 | |
| 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 | ||
| 258 | 29 | ## Slides 1 | 
| 203 | 30 | |
| 31 | session11: Slides/ROOT.ML \ | |
| 32 | Slides/document/root* \ | |
| 33 | Slides/Slides1.thy | |
| 34 | @$(USEDIR) -D generated -f ROOT1.ML HOL Slides | |
| 35 | ||
| 36 | slides1: session11 | |
| 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 | ||
| 258 | 41 | ## Slides 2 | 
| 42 | ||
| 43 | session22: Slides/ROOT.ML \ | |
| 44 | Slides/document/root* \ | |
| 45 | Slides/Slides2.thy | |
| 46 | @$(USEDIR) -D generated -f ROOT2.ML HOL Slides | |
| 47 | ||
| 48 | slides2: session22 | |
| 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 | |
| 36 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 53 | ## long paper | 
| 16 | 54 | |
| 30 
f5db9e08effc
Directory [tphols-2011] is added to host the commented version of [Myhill.thy]. Directory [pres] is created to host a build session for logical image [ListP] which is essentially [Main] extended with [List_prefix.thy].
 zhang parents: 
24diff
changeset | 55 | session2: tphols-2011/ROOT.ML \ | 
| 
f5db9e08effc
Directory [tphols-2011] is added to host the commented version of [Myhill.thy]. Directory [pres] is created to host a build session for logical image [ListP] which is essentially [Main] extended with [List_prefix.thy].
 zhang parents: 
24diff
changeset | 56 | tphols-2011/document/root* \ | 
| 31 
b6815473ee2e
1. Myhill.thy is proved to correct some typos. 2. Some sections are added to the first direction. 3. The small theory of list difference is now separated into Prefix_subtract.thy and the ROOT.ML
 zhang parents: 
30diff
changeset | 57 | *.thy | 
| 55 | 58 | @$(USEDIR) -D generated -f ROOT.ML ListP tphols-2011 | 
| 24 | 59 | |
| 60 | paper: session2 | |
| 30 
f5db9e08effc
Directory [tphols-2011] is added to host the commented version of [Myhill.thy]. Directory [pres] is created to host a build session for logical image [ListP] which is essentially [Main] extended with [List_prefix.thy].
 zhang parents: 
24diff
changeset | 61 | rm -f tphols-2011/generated/*.aux # otherwise latex will fall over | 
| 
f5db9e08effc
Directory [tphols-2011] is added to host the commented version of [Myhill.thy]. Directory [pres] is created to host a build session for logical image [ListP] which is essentially [Main] extended with [List_prefix.thy].
 zhang parents: 
24diff
changeset | 62 | cd tphols-2011/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex | 
| 36 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 63 | cd tphols-2011/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex | 
| 30 
f5db9e08effc
Directory [tphols-2011] is added to host the commented version of [Myhill.thy]. Directory [pres] is created to host a build session for logical image [ListP] which is essentially [Main] extended with [List_prefix.thy].
 zhang parents: 
24diff
changeset | 64 | cp tphols-2011/generated/root.pdf tphols-2011/myhill.pdf | 
| 16 | 65 | |
| 72 | 66 | ## full paper | 
| 67 | ||
| 68 | fullsession2: tphols-2011/ROOT.ML \ | |
| 69 | tphols-2011/document/root* \ | |
| 70 | *.thy | |
| 71 | @$(USEDIR) -D generated -f ROOT.ML HOL tphols-2011 | |
| 72 | ||
| 73 | fullpaper: fullsession2 | |
| 74 | rm -f tphols-2011/generated/*.aux # otherwise latex will fall over | |
| 75 | cd tphols-2011/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex | |
| 76 | cd tphols-2011/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex | |
| 77 | cp tphols-2011/generated/root.pdf tphols-2011/myhill.pdf | |
| 78 | ||
| 79 | ||
| 16 | 80 | |
| 36 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 81 | ## ITP paper | 
| 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 82 | |
| 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 83 | session3: Paper/ROOT.ML \ | 
| 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 84 | Paper/document/root* \ | 
| 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 85 | Paper/*.thy | 
| 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 86 | @$(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: 
31diff
changeset | 87 | |
| 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 88 | itp: session3 | 
| 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 89 | 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: 
31diff
changeset | 90 | cd Paper/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex | 
| 66 | 91 | 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: 
31diff
changeset | 92 | 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: 
31diff
changeset | 93 | 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: 
31diff
changeset | 94 | |
| 162 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 95 | ## Journal Version | 
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 96 | |
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 97 | session4: Journal/ROOT.ML \ | 
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 98 | Journal/document/root* \ | 
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 99 | Journal/*.thy | 
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 100 | @$(USEDIR) -D generated -f ROOT.ML HOL Journal | 
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 101 | |
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 102 | journal: session4 | 
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 103 | 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: 
72diff
changeset | 104 | 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: 
72diff
changeset | 105 | cd Journal/generated ; bibtex root | 
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 106 | 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: 
72diff
changeset | 107 | cp Journal/generated/root.pdf journal.pdf | 
| 
e93760534354
added directory for journal version; took uptodate version of the theory files
 urbanc parents: 
72diff
changeset | 108 | |
| 36 
f5cc33a0ba99
added an itp entry to IsaMakefile; fixed problem with eqref; have not used heap file ListP
 wu parents: 
31diff
changeset | 109 | |
| 16 | 110 | ## clean | 
| 111 | ||
| 112 | clean: | |
| 24 | 113 | rm -rf Slides/generated/* | 
| 30 
f5db9e08effc
Directory [tphols-2011] is added to host the commented version of [Myhill.thy]. Directory [pres] is created to host a build session for logical image [ListP] which is essentially [Main] extended with [List_prefix.thy].
 zhang parents: 
24diff
changeset | 114 | rm -rf tphols-2011/generated/* |