IsaMakefile
author Christian Urban <urbanc@in.tum.de>
Mon, 09 Feb 2009 01:23:35 +0000
changeset 106 bdd82350cf22
parent 60 5b9c6010897b
child 153 c22b507e1407
permissions -rw-r--r--
renamed in the pdf all instances of cookbook to tutorial (in order to sound more serious)


## targets

default: tutorial
images: 
test: 

all: tutorial

## global settings

SRC = $(ISABELLE_HOME)/src
OUT = $(ISABELLE_OUTPUT)
LOG = $(OUT)/log

USEDIR = $(ISATOOL) usedir -v true -D generated

rail:
	rail CookBook/generated/root
	cp CookBook/generated/root.rao CookBook/document

## CookBook

tutorial: CookBook/ROOT.ML \
          CookBook/document/root.tex \
          CookBook/document/root.bib \
          CookBook/*.thy \
          CookBook/*.ML \
          CookBook/Recipes/*.thy \
          CookBook/Package/*.thy \
          CookBook/Package/*.ML
	$(USEDIR) HOL CookBook
	$(ISATOOL) document -o pdf  CookBook/generated
	@cp CookBook/document.pdf cookbook.pdf

## clean

clean:
	@rm -f CookBook/generated/*