IsaMakefile
author Christian Urban <urbanc@in.tum.de>
Thu, 20 Aug 2009 23:30:51 +0200
changeset 317 d69214e47ef9
parent 306 fe732e890d87
child 364 c6a2e295227e
permissions -rw-r--r--
added an experimental antiquotation to replace eventually ML_response_fake
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
## targets
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
106
bdd82350cf22 renamed in the pdf all instances of cookbook to tutorial (in order to sound more serious)
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
     4
default: tutorial
0
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
106
bdd82350cf22 renamed in the pdf all instances of cookbook to tutorial (in order to sound more serious)
Christian Urban <urbanc@in.tum.de>
parents: 60
diff changeset
     6
all: tutorial
0
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
## global settings
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
SRC = $(ISABELLE_HOME)/src
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
OUT = $(ISABELLE_OUTPUT)
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
LOG = $(OUT)/log
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
60
5b9c6010897b doem tuning and made the cookbook work again with recent changes (CookBook/Package/Ind_Interface.thy needs to be looked at to see what the problem with the new parser type is)
Christian Urban <urbanc@in.tum.de>
parents: 44
diff changeset
    14
USEDIR = $(ISATOOL) usedir -v true -D generated
0
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
189
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    16
tutorial: ProgTutorial/ROOT.ML \
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    17
          ProgTutorial/document/root.tex \
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    18
          ProgTutorial/document/root.bib \
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    19
          ProgTutorial/*.thy \
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    20
          ProgTutorial/*.ML \
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    21
          ProgTutorial/Recipes/*.thy \
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    22
          ProgTutorial/Package/*.thy \
256
1fb8d62c88a0 added some first index-information
Christian Urban <urbanc@in.tum.de>
parents: 246
diff changeset
    23
          ProgTutorial/Package/*.ML
1fb8d62c88a0 added some first index-information
Christian Urban <urbanc@in.tum.de>
parents: 246
diff changeset
    24
	@rm -rf ProgTutorial/generated/* 
189
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    25
	$(USEDIR) HOL ProgTutorial
306
fe732e890d87 tuned the section about printing several bits of inormation
Christian Urban <urbanc@in.tum.de>
parents: 295
diff changeset
    26
	hg parent --template '{date|shortdate}' > ProgTutorial/generated/tip
189
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    27
	$(ISATOOL) version > ProgTutorial/generated/version 
246
eb81ab6da2a3 a saner method for calling PolyML
Christian Urban <urbanc@in.tum.de>
parents: 228
diff changeset
    28
	$(ML_HOME)/poly -v > ProgTutorial/generated/pversion
189
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    29
	$(ISATOOL) document -o pdf  ProgTutorial/generated
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    30
	@cp ProgTutorial/document.pdf progtutorial.pdf
0
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
## clean
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
clean:
189
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    35
	@rm -f ProgTutorial/generated/*