author | blanchet |
Thu, 28 Jul 2011 16:32:39 +0200 | |
changeset 44872 | 2b75760fa75e |
parent 43383 | f1ca2b0e0265 |
permissions | -rw-r--r-- |
paulson@14152 | 1 |
# |
paulson@14152 | 2 |
# IsaMakefile to build the examples for the FOL and ZF manual |
paulson@14152 | 3 |
# |
paulson@14152 | 4 |
|
paulson@14152 | 5 |
## targets |
paulson@14152 | 6 |
|
wenzelm@43383 | 7 |
default: ZF-examples |
paulson@14152 | 8 |
images: |
paulson@14152 | 9 |
test: |
paulson@14152 | 10 |
all: default |
paulson@14152 | 11 |
|
paulson@14152 | 12 |
|
paulson@14152 | 13 |
## global settings |
paulson@14152 | 14 |
|
paulson@14152 | 15 |
SRC = $(ISABELLE_HOME)/src |
paulson@14152 | 16 |
OUT = $(ISABELLE_OUTPUT) |
paulson@14152 | 17 |
LOG = $(OUT)/log |
wenzelm@43383 | 18 |
USEDIR = @$(ISABELLE_TOOL) usedir -m brackets -i true -d "" -D document |
paulson@14152 | 19 |
|
paulson@14152 | 20 |
|
paulson@14152 | 21 |
## ZF |
paulson@14152 | 22 |
|
paulson@14152 | 23 |
ZF: |
wenzelm@28500 | 24 |
@cd $(SRC)/ZF; $(ISABELLE_TOOL) make ZF |
paulson@14152 | 25 |
|
paulson@14152 | 26 |
|
paulson@14152 | 27 |
## ZF-examples |
paulson@14152 | 28 |
|
paulson@14152 | 29 |
ZF-examples: ZF $(LOG)/ZF-examples.gz |
paulson@14152 | 30 |
|
paulson@14152 | 31 |
$(LOG)/ZF-examples.gz: $(OUT)/ZF \ |
paulson@14152 | 32 |
FOL_examples.thy IFOL_examples.thy ZF_examples.thy If.thy ROOT.ML |
wenzelm@43383 | 33 |
@$(USEDIR) -s examples $(OUT)/ZF . |
wenzelm@43383 | 34 |
@rm -f document/isabelle.sty |
wenzelm@43383 | 35 |
@rm -f document/isabellesym.sty |
wenzelm@43383 | 36 |
@rm -f document/pdfsetup.sty |
wenzelm@43383 | 37 |
@rm -f document/session.tex |
paulson@14152 | 38 |
|
paulson@14152 | 39 |
## clean |
paulson@14152 | 40 |
|
paulson@14152 | 41 |
clean: |
paulson@14152 | 42 |
@rm -f $(LOG)/ZF-examples.gz document/*.tex |