IsaMakefile
author Christian Urban <urbanc@in.tum.de>
Wed, 03 Sep 2008 18:12:36 +0200
changeset 0 02503850a8cf
child 2 978a3c2ed7ce
permissions -rw-r--r--
initial commit of Alexander's files


## targets

default: cookbook.pdf
images: 
test: CookBook

all: images test

TEXFILES = cookbook.tex

## global settings

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

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


## CookBook

CookBook: $(LOG)/HOL-CookBook.gz

$(LOG)/HOL-CookBook.gz: CookBook/ROOT.ML CookBook/document/root.tex CookBook/*.thy
	@$(USEDIR) HOL CookBook

cookbook.pdf: $(LOG)/HOL-CookBook.gz $(TEXFILES)
	pdflatex cookbook.tex
	bibtex cookbook
	pdflatex cookbook.tex
	pdflatex cookbook.tex


## clean

clean:
	@rm -f $(LOG)/HOL-CookBook.gz CookBook/generated/*