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