2 # IsaMakefile to build the examples for the FOL and ZF manual
7 default: ZF-examples styles
15 SRC = $(ISABELLE_HOME)/src
16 OUT = $(ISABELLE_OUTPUT)
18 OPTIONS = -m brackets -i true -d "" -D document
19 USEDIR = @$(ISABELLE_TOOL) usedir $(OPTIONS) $(OUT)/ZF
25 @cd $(SRC)/ZF; $(ISABELLE_TOOL) make ZF
29 @rm -f isabellesym.sty
31 @$(ISABELLE_TOOL) latex -o sty >/dev/null
33 @rm -f document/isabelle.sty
34 @rm -f document/isabellesym.sty
35 @rm -f document/pdfsetup.sty
36 @rm -f document/session.tex
41 ZF-examples: ZF $(LOG)/ZF-examples.gz
43 $(LOG)/ZF-examples.gz: $(OUT)/ZF \
44 FOL_examples.thy IFOL_examples.thy ZF_examples.thy If.thy ROOT.ML
50 @rm -f $(LOG)/ZF-examples.gz document/*.tex