doc-src/ZF/IsaMakefile
author Walther Neuper <neuper@ist.tugraz.at>
Thu, 12 Aug 2010 15:03:34 +0200
branchisac-from-Isabelle2009-2
changeset 37913 20e3616b2d9c
parent 28500 4b79e5d3d0aa
child 43383 f1ca2b0e0265
permissions -rw-r--r--
prepare reactivation of isac-update-Isa09-2
     1 #
     2 # IsaMakefile to build the examples for the FOL and ZF manual
     3 #
     4 
     5 ## targets
     6 
     7 default: ZF-examples styles
     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
    18 OPTIONS = -m brackets -i true -d "" -D document
    19 USEDIR = @$(ISABELLE_TOOL) usedir $(OPTIONS) $(OUT)/ZF
    20 
    21 
    22 ## ZF
    23 
    24 ZF:
    25 	@cd $(SRC)/ZF; $(ISABELLE_TOOL) make ZF
    26 
    27 styles:
    28 	@rm -f isabelle.sty
    29 	@rm -f isabellesym.sty
    30 	@rm -f pdfsetup.sty
    31 	@$(ISABELLE_TOOL) latex -o sty >/dev/null
    32 	@rm -f pdfsetup.sty
    33 	@rm -f document/isabelle.sty
    34 	@rm -f document/isabellesym.sty
    35 	@rm -f document/pdfsetup.sty
    36 	@rm -f document/session.tex
    37 
    38 
    39 ## ZF-examples
    40 
    41 ZF-examples: ZF $(LOG)/ZF-examples.gz
    42 
    43 $(LOG)/ZF-examples.gz: $(OUT)/ZF \
    44 	FOL_examples.thy  IFOL_examples.thy ZF_examples.thy If.thy ROOT.ML 
    45 	@$(USEDIR) .
    46 
    47 ## clean
    48 
    49 clean:
    50 	@rm -f $(LOG)/ZF-examples.gz document/*.tex