doc-src/ZF/IsaMakefile
author blanchet
Thu, 28 Jul 2011 16:32:39 +0200
changeset 44872 2b75760fa75e
parent 43383 f1ca2b0e0265
permissions -rw-r--r--
no needless mangling
     1 #
     2 # IsaMakefile to build the examples for the FOL and ZF manual
     3 #
     4 
     5 ## targets
     6 
     7 default: ZF-examples
     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 USEDIR = @$(ISABELLE_TOOL) usedir -m brackets -i true -d "" -D document
    19 
    20 
    21 ## ZF
    22 
    23 ZF:
    24 	@cd $(SRC)/ZF; $(ISABELLE_TOOL) make ZF
    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 
    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
    38 
    39 ## clean
    40 
    41 clean:
    42 	@rm -f $(LOG)/ZF-examples.gz document/*.tex