IsaMakefile
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Wed, 06 Jan 2010 08:24:37 +0100
changeset 814 cd3fa86be45f
parent 764 a603aa6c9d01
permissions -rw-r--r--
Sledgehammer bug.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
597
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
## targets
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
default: Quot
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
images: 
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
601
81f40b8bde7b added "end" to each example theory
Christian Urban <urbanc@in.tum.de>
parents: 597
diff changeset
     7
all: Quot
597
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
## global settings
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
SRC = $(ISABELLE_HOME)/src
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
OUT = $(ISABELLE_OUTPUT)
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
LOG = $(OUT)/log
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
757
c129354f2ff6 complete fix for IsaMakefile
Christian Urban <urbanc@in.tum.de>
parents: 756
diff changeset
    16
USEDIR = $(ISABELLE_TOOL) usedir -v true -t true ##-D generated
c129354f2ff6 complete fix for IsaMakefile
Christian Urban <urbanc@in.tum.de>
parents: 756
diff changeset
    17
597
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
## Quot
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
Quot: $(LOG)/HOL-Quot.gz
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
$(LOG)/HOL-Quot.gz: Quot/ROOT.ML Quot/*.thy
756
27eb796ad842 first fix
Christian Urban <urbanc@in.tum.de>
parents: 754
diff changeset
    24
	@$(USEDIR) HOL-Nominal Quot
754
b85875d65b10 added a paper for possible notes
Christian Urban <urbanc@in.tum.de>
parents: 604
diff changeset
    25
b85875d65b10 added a paper for possible notes
Christian Urban <urbanc@in.tum.de>
parents: 604
diff changeset
    26
paper: $(LOG)/HOL-Quot-Paper.gz
b85875d65b10 added a paper for possible notes
Christian Urban <urbanc@in.tum.de>
parents: 604
diff changeset
    27
b85875d65b10 added a paper for possible notes
Christian Urban <urbanc@in.tum.de>
parents: 604
diff changeset
    28
$(LOG)/HOL-Quot-Paper.gz: Paper/ROOT.ML Paper/document/root.tex Paper/*.thy
757
c129354f2ff6 complete fix for IsaMakefile
Christian Urban <urbanc@in.tum.de>
parents: 756
diff changeset
    29
	@$(USEDIR) -D generated HOL Paper
754
b85875d65b10 added a paper for possible notes
Christian Urban <urbanc@in.tum.de>
parents: 604
diff changeset
    30
	$(ISATOOL) document -o pdf  Paper/generated
b85875d65b10 added a paper for possible notes
Christian Urban <urbanc@in.tum.de>
parents: 604
diff changeset
    31
	@cp Paper/document.pdf paper.pdf
597
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
764
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    33
keywords:
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    34
	mkdir -p tmp
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    35
	cp $(ISABELLE_HOME)/heaps/polyml-5.3.0_x86-linux/log/Pure.gz tmp 
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    36
	cp $(ISABELLE_HOME)/heaps/polyml-5.3.0_x86-linux/log/HOL.gz tmp
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    37
	cp $(ISABELLE_HOME)/heaps/polyml-5.3.0_x86-linux/log/Pure-ProofGeneral.gz tmp
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    38
	cp $(ISABELLE_HOME)/heaps/polyml-5.3.0_x86-linux/log/HOL-Nominal.gz tmp
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    39
	cp $(LOG)/HOL-Nominal-Quot.gz tmp
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    40
	isabelle keywords -k quot tmp/*
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    41
	
a603aa6c9d01 with "isabelle make keywords" you can create automatically a "quot" keywordfile, provided all Logics are in place
Christian Urban <urbanc@in.tum.de>
parents: 757
diff changeset
    42
	
597
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
## clean
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
clean:
8a1c8dc72b5c directory re-arrangement
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
	@rm -f $(LOG)/HOL-Quot.gz