--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/IsaMakefile Wed Sep 03 18:12:36 2008 +0200
@@ -0,0 +1,38 @@
+
+## 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/*