doc-src/IsarTut/IsaMakefile
changeset 15901 3def24755c37
parent 15900 d6156cb8dc2e
child 15902 0fce3f919aec
equal deleted inserted replaced
15900:d6156cb8dc2e 15901:3def24755c37
     1 
       
     2 ## targets
       
     3 
       
     4 default: Tutorial
       
     5 images:
       
     6 test: Tutorial
       
     7 
       
     8 all: images test
       
     9 
       
    10 
       
    11 ## global settings
       
    12 
       
    13 SRC = $(ISABELLE_HOME)/src
       
    14 OUT = $(ISABELLE_OUTPUT)
       
    15 LOG = $(OUT)/log
       
    16 USEDIR = $(ISATOOL) usedir -i true -d "" -D ../generated
       
    17 
       
    18 
       
    19 ## Tutorial
       
    20 
       
    21 Tutorial: HOL $(LOG)/HOL-Tutorial.gz
       
    22 
       
    23 HOL:
       
    24 	@cd $(SRC)/HOL; $(ISATOOL) make HOL
       
    25 
       
    26 $(LOG)/HOL-Tutorial.gz: $(OUT)/HOL Tutorial/ROOT.ML Tutorial/Tutorial.thy
       
    27 	@$(USEDIR) $(OUT)/HOL Tutorial
       
    28 	@rm -f generated/pdfsetup.sty generated/session.tex
       
    29 
       
    30 
       
    31 ## clean
       
    32 
       
    33 clean:
       
    34 	@rm -f $(LOG)/HOL-Tutorial.gz