IsaMakefile
author Norbert Schirmer <norbert.schirmer@web.de>
Wed, 22 May 2019 13:24:30 +0200
changeset 575 c3dbc04471a9
parent 373 28a49fe024c9
permissions -rw-r--r--
fixing some Line references
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
364
c6a2e295227e modernized
haftmann
parents: 306
diff changeset
    14
USEDIR = $(ISABELLE_TOOL) 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
364
c6a2e295227e modernized
haftmann
parents: 306
diff changeset
    27
	$(ISABELLE_TOOL) 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
364
c6a2e295227e modernized
haftmann
parents: 306
diff changeset
    29
	$(ISABELLE_TOOL) document -o pdf  ProgTutorial/generated
373
28a49fe024c9 added structure index
Christian Urban <urbanc@in.tum.de>
parents: 364
diff changeset
    30
	makeindex -o ProgTutorial/generated/root.stu ProgTutorial/generated/root.str
28a49fe024c9 added structure index
Christian Urban <urbanc@in.tum.de>
parents: 364
diff changeset
    31
	$(ISABELLE_TOOL) document -o pdf  ProgTutorial/generated
28a49fe024c9 added structure index
Christian Urban <urbanc@in.tum.de>
parents: 364
diff changeset
    32
##	$(ISABELLE_TOOL) document -o pdf  ProgTutorial/generated
189
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    33
	@cp ProgTutorial/document.pdf progtutorial.pdf
0
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
## clean
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
02503850a8cf initial commit of Alexander's files
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
clean:
189
069d525f8f1d made more of the transition from "CookBook" to "ProgTutorial"
Christian Urban <urbanc@in.tum.de>
parents: 153
diff changeset
    38
	@rm -f ProgTutorial/generated/*